Fix some itemblocks

This commit is contained in:
Vincent Lee committed 2019-03-21 20:07:46 -05:00
1 parent 5924a9362d
commit b022c8d693
108 files changed
+9 -9

No files matched your search

@@ -93,6 +93,8 @@ public class FloatingFlowerModel implements IBakedModel {
public List<BakedQuad> getQuads(IBlockState state, EnumFacing face, @Nonnull Random rand) {
if(state.getBlock() != ModBlocks.floatingSpecialFlower && !(state.getBlock() instanceof BlockFloatingFlower))
return Minecraft.getInstance().getBlockRendererDispatcher().getBlockModelShapes().getModelManager().getMissingModel().getQuads(state, face, rand);
if(true) // todo 1.13
return ImmutableList.of();
IExtendedBlockState realState = (IExtendedBlockState) state;
IFloatingFlower.IslandType islandType = realState.getValue(BotaniaStateProps.ISLAND_TYPE);
ResourceLocation identifier;
@@ -104,7 +104,7 @@ public class BlockFloatingFlower extends BlockMod implements ILexiconable {
@OnlyIn(Dist.CLIENT)
@Override
public void animateTick(IBlockState state, World world, BlockPos pos, Random rand) {
int hex = state.get(BotaniaStateProps.COLOR).colorValue;
int hex = color.colorValue;
int r = (hex & 0xFF0000) >> 16;
int g = (hex & 0xFF00) >> 8;
int b = hex & 0xFF;