diff --git a/src/main/java/io/github/fusionflux/portalcubed/content/prop/renderer/PropRenderer.java b/src/main/java/io/github/fusionflux/portalcubed/content/prop/renderer/PropRenderer.java index 4c178d90..02b05972 100644 --- a/src/main/java/io/github/fusionflux/portalcubed/content/prop/renderer/PropRenderer.java +++ b/src/main/java/io/github/fusionflux/portalcubed/content/prop/renderer/PropRenderer.java @@ -70,12 +70,13 @@ public PropRenderState createRenderState() { public void extractRenderState(Prop prop, PropRenderState reusedState, float tickDelta) { super.extractRenderState(prop, reusedState, tickDelta); reusedState.type = prop.type; + reusedState.variant = prop.getVariant(); reusedState.yRot = prop.getYRot(tickDelta); } private static final class ModelEmitter extends DelegatingVertexConsumer { @SuppressWarnings("deprecation") - private static final RenderType EMISSIVE_RENDER_TYPE = RenderType.beaconBeam(TextureAtlas.LOCATION_BLOCKS, true); + private static final RenderType EMISSIVE_RENDER_TYPE = RenderType.entityTranslucentEmissive(TextureAtlas.LOCATION_BLOCKS); private static final RenderType DEFAULT_RENDER_TYPE = Sheets.translucentItemSheet(); private static final RenderType CUTOUT_RENDER_TYPE = Sheets.cutoutBlockSheet();