• Recently Browsing

    No registered users viewing this page.

  • Posts

    • I'm not so sure but it seems like you are only rendering a part of your model private final ModelRenderer Stem; private final ModelRenderer StemNeck; private final ModelRenderer StemTip; public ThornWhipTipModel() { super(RenderType::getEntitySolid); textureWidth = 32; textureHeight = 32; Stem = new ModelRenderer(this); Stem.setRotationPoint(0.0F, 24.0F, 0.0F); StemNeck = new ModelRenderer(this); StemNeck.setRotationPoint(0.0F, 0.0F, 0.0F); Stem.addChild(StemNeck); StemNeck.setTextureOffset(0, 0).addBox(-1.0F, -6.0F, -8.0F, 2.0F, 2.0F, 8.0F, 0.0F, false); StemNeck.setTextureOffset(0, 10).addBox(0.0F, -6.0F, 0.0F, 2.0F, 2.0F, 3.0F, 0.0F, false); StemNeck.setTextureOffset(11, 10).addBox(-1.0F, -7.0F, -5.0F, 1.0F, 1.0F, 1.0F, 0.0F, false); StemNeck.setTextureOffset(4, 6).addBox(-2.0F, -6.0F, -2.0F, 1.0F, 1.0F, 1.0F, 0.0F, false); StemNeck.setTextureOffset(0, 6).addBox(1.0F, -5.0F, -7.0F, 1.0F, 1.0F, 1.0F, 0.0F, false); StemNeck.setTextureOffset(4, 3).addBox(-1.0F, -4.0F, -6.0F, 1.0F, 1.0F, 1.0F, 0.0F, false); StemTip = new ModelRenderer(this); StemTip.setRotationPoint(0.0F, 0.0F, 0.0F); Stem.addChild(StemTip); StemTip.setTextureOffset(0, 0).addBox(-1.0F, -6.0F, 3.0F, 2.0F, 1.0F, 2.0F, 0.0F, false); StemTip.setTextureOffset(7, 10).addBox(0.0F, -5.0F, 3.0F, 1.0F, 1.0F, 2.0F, 0.0F, false); StemTip.setTextureOffset(0, 3).addBox(0.0F, -6.0F, 5.0F, 1.0F, 1.0F, 2.0F, 0.0F, false); } @Override public void render(MatrixStack matrixStack, IVertexBuilder buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha){ Stem.render(matrixStack, buffer, packedLight, packedOverlay); }  
    • provide more information such as log or even better a repo.
    • urblock.getStateForPlacement or getDefualtState (you can still mess around with it) , and in your block class override hasTileEntity and return an instance of your custom te in createTileEntity. You can save the position of the master, and use world.getTileEntity to get the master te.
    • I feel so stupid now, I completely forgot that Minecraft code was obfuscated ._.   But if that's the case, how would I access this field without knowing the actual name of the field?
    • This solution is a bit nuclear, but try deleting your libraries folder
  • Topics

  • Who's Online (See full list)