This commit is contained in:
gamma-delta 2022-05-19 21:09:05 -05:00
parent c77d2d96ea
commit 804bcecf38
2 changed files with 2 additions and 2 deletions

View file

@ -95,7 +95,7 @@ public class BlockEntityConjured extends HexBlockEntity {
@Override
protected void loadModData(CompoundTag tag) {
this.setColorizer(FrozenColorizer.deserialize(tag.getCompound(TAG_COLORIZER)));
this.colorizer = FrozenColorizer.deserialize(tag.getCompound(TAG_COLORIZER));
}
public FrozenColorizer getColorizer() {

View file

@ -19,7 +19,7 @@ object FabricHexClientInitializer : ClientModInitializer {
override fun onInitializeClient() {
FabricPacketHandler.initClient()
WorldRenderEvents.BEFORE_DEBUG_RENDER.register { ctx ->
WorldRenderEvents.LAST.register { ctx ->
HexAdditionalRenderers.overlayLevel(ctx.matrixStack(), ctx.tickDelta())
}
HudRenderCallback.EVENT.register(HexAdditionalRenderers::overlayGui)