EnergyContainerTESR.java 文件源码

java
阅读 23 收藏 0 点赞 0 评论 0

项目:BiotechMod 作者:
public EnergyContainerTESR() {
    texture = new ResourceLocation("minecraft:textures/blocks/planks_oak.png");
    model = AdvancedModelLoader.loadModel(new ResourceLocation("biotechmod:models/energyContainer.obj"));
    potato = new RenderItem() {
        public boolean shouldBob() {
            return false;
        }
        public boolean shouldSpreadItems() {
            return false;
        }
    };
    dummy = new EntityItem(null);
    dummy.hoverStart = 0.0f;
    dummy.motionX = 0.0f;
    dummy.motionY = 0.0f;
    dummy.motionZ = 0.0f;
    potato.setRenderManager(RenderManager.instance);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号