Created
January 7, 2018 13:28
-
-
Save Barteks2x/5d89e6d989c9e58dcd1f1d2a4d3ec949 to your computer and use it in GitHub Desktop.
stdin
This file contains hidden or 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
switch (enumblockrendertype) | |
{ | |
case MODEL: | |
IBakedModel model = this.getModelForState(state); | |
state = state.getBlock().getExtendedState(state, blockAccess, pos); | |
return this.blockModelRenderer.renderModel(blockAccess, model, state, pos, bufferBuilderIn, true); | |
case ENTITYBLOCK_ANIMATED: | |
return false; | |
case LIQUID: | |
return this.fluidRenderer.renderFluid(blockAccess, state, pos, bufferBuilderIn); | |
default: | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment