-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixes (#520) * fix: return correct capability for lasers * feat: insert covers directly into inventory on crowbar use, if possible * fix: capability IO directions * feat: render locked contents for quantum storage when empty (#524) * Fix item pipe transfer rate (#530) * refactor: extract transfer rate counting from fluid pipe nets * fix: item pipes now limit their transfer correctly * Fix steam boilers (#532) * fix: small steam boilers output steam again * refactor: rename method in SteamBoilerMachine * fix: display correct temperature in large boilers * feat: add temperature tooltip in small boilers * Manual IO modes on covers (#536) * style: reformat some code in MetaMachine * refactor: allow covers to override item and fluid transfer capabilities * feat: UI controls for distribution & manual IO mode * feat: handle manual IO mode when transferring through covers * refactor: make previously added @ExpectPlatform method static * refactor: improve tooltip for insert_first distribution mode * Inject models into resource manager (#529) * fix: define outgoing API elements. * fuck this is annoying, @KilaBash fix the rendering system pls * feat: the thing. currently throws a shitton of errors. fun. * ok why does 1/15 items have a model wtf * would you rather have no errors and 5x memory usage or errors, infinite errors and 5x memory usage * remove unused stuff. * fix: remove texture generation, used too much ram; where'd my block textures go? * fix: add mixinextras version to deps. * IT FUCKING WORKS :LLEETTSS: * make ore blocks be able to accept 2 textures, signified by: 1. no suffix in the filename 2. `_layer2` in the filename * fix ore blocks' tint layers * feat: megacommit A la textures * feat: all the secondary colors. until @TTFTCUTS makes/gives me the block textures, I can't do the block models. * fix laser pipes * add possibility for secondary textures in cables/pipes/wires * fix: lang issues * feat: recipes for active transformer, high power casing, laser cable * fix: add blank texture to not have errors because of missing secondary sprites. * chore: reviews * fixes (#539) * feat: allow singleblock generators to face up * fix: allow tools to use their last durability point * fix: disable worldstripper in dev * fix: wrong operator on large boiler tooltip * chore: run data * fix: special check for diode in Cleanroom energy hatch collection * chore: update changelog --------- Co-authored-by: Mikerooni <[email protected]>
- Loading branch information
Showing
498 changed files
with
3,438 additions
and
1,681 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
common/src/main/java/com/gregtechceu/gtceu/api/block/RendererMaterialBlock.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.gregtechceu.gtceu.api.block; | ||
|
||
import com.gregtechceu.gtceu.api.data.chemical.material.Material; | ||
import com.gregtechceu.gtceu.api.data.tag.TagPrefix; | ||
import com.lowdragmc.lowdraglib.client.renderer.IBlockRendererProvider; | ||
import com.lowdragmc.lowdraglib.client.renderer.IRenderer; | ||
import net.fabricmc.api.EnvType; | ||
import net.fabricmc.api.Environment; | ||
import net.minecraft.world.level.block.state.BlockState; | ||
import org.jetbrains.annotations.Nullable; | ||
|
||
public class RendererMaterialBlock extends MaterialBlock implements IBlockRendererProvider { | ||
public final IRenderer renderer; | ||
|
||
public RendererMaterialBlock(Properties properties, TagPrefix tagPrefix, Material material, @Nullable IRenderer renderer) { | ||
super(properties, tagPrefix, material, false); | ||
this.renderer = renderer; | ||
} | ||
|
||
@Nullable | ||
@Override | ||
@Environment(EnvType.CLIENT) | ||
public IRenderer getRenderer(BlockState state) { | ||
return renderer; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.