nidico100
Members-
Posts
41 -
Joined
-
Last visited
Everything posted by nidico100
-
wanted to add some methods to the class, but found a different way thanks anyway
-
[1.7.10] How to convert the code, which works in 1.8 to 1.7.10
nidico100 replied to nidico100's topic in Modder Support
how to define the blockpos with 3 ints? -
I want to add something to the Original Entity.class how to do that?
-
I get some errors with the code, i tried a lot to fix it, but it doesn't work. public void onFallenUpon (World worldIn, BlockPos pos, Entity entityIn, float fallDistance) { if (entityIn.isSneaking()) { super.onFallenUpon(worldIn, pos, entityIn, fallDistance); } else { entityIn.fall(fallDistance, 0.0F); } } public void onLanded(World worldIn, Entity entityIn) { if (entityIn.isSneaking()) { super.onLanded(worldIn, entityIn); } else if (entityIn.motionY < 0.0D) { entityIn.motionY = -entityIn.motionY; } } public void onEntityCollidedWithBlock(World worldIn, BlockPos pos, Entity entityIn) { if (Math.abs(entityIn.motionY) < 0.1D && !entityIn.isSneaking()) { double d0 = 0.4D + Math.abs(entityIn.motionY) * 0.2D; entityIn.motionX *= d0; entityIn.motionZ *= d0; } super.onEntityCollidedWithBlock(worldIn, pos, entityIn); } BlockPos (just copied from 1.8, but fixed the errors) Vec3i (just copied from 1.8, but fixed the errors)
-
[1.7.10] Rendering of 3D Model didn't work. Need Help.
nidico100 replied to nidico100's topic in Modder Support
I just forgot to put GameRegistry.registerTileEntity(TileEntityBlockSlime.class, "DowngradeMod"+"slimeBlock"); in the public void load in the main file, but thanks anyway -
[1.7.10] Rendering of 3D Model didn't work. Need Help.
nidico100 replied to nidico100's topic in Modder Support
Thank you very much!! It works But with the Particles I don't know the reason [/img] -
In the hand the block renders with transparency, but when placed the transparency is lost, why? And how can i change the blockbreak particles? Because they are pink and black. [/img] MainMod file: BlockSlimeModel.java BlockSlime.java ClientProxy: Normal Proxy: RenderBlockSlime.java ItemRenderBlockSlime pls help me
-
[1.7.10] Rendering of 3D Model didn't work. Need Help.
nidico100 replied to nidico100's topic in Modder Support
Thanks now it works. In my hand i see the smaller cube inside the bigger, but when i place it it's not transparent anymore and still fly in the air instead of standing You need to use GL11.glTranslate in your render class to move it into the right place. Example: GL11.glTranslatef(1f, 1f, 0f); Run the game in Debug mode (if you have eclipse) and keep experimenting with it. It might take a while for it to work properly. it's now on the right place with texture and in hand it's rendering right with transparency, but when it's placed it's not transparent, but why? And why are the break particles pink and black? [/img] -
[1.7.10] Rendering of 3D Model didn't work. Need Help.
nidico100 replied to nidico100's topic in Modder Support
Thanks now it works. In my hand i see the smaller cube inside the bigger, but when i place it it's not transparent anymore and still fly in the air instead of standing -
I tried to make a Slime Block from 1.8 in 1.7.10, but something went wrong. [/img] MainMod file: BlockSlimeModel.java BlockSlime.java ClientProxy: Normal Proxy: RenderBlockSlime.java ItemRenderBlockSlime pls help me
-
[1.7.10] Custom 3D Model like Slime Block from [1.8]
nidico100 replied to nidico100's topic in Modder Support
So I tested it, but i have some Problems [/img] MainMod file: BlockSlimeModel.java BlockSlime.java ClientProxy: Normal Proxy: RenderBlockSlime.java ItemRenderBlockSlime pls help me -
[1.7.10] Custom 3D Model like Slime Block from [1.8]
nidico100 replied to nidico100's topic in Modder Support
Thanks i will test it, because Techne didn't work on my pc it just bugged -
[1.7.10] Custom 3D Model like Slime Block from [1.8]
nidico100 replied to nidico100's topic in Modder Support
I just have the model as .json, but can i use this? How u mean with both Textures? I wanted to use the same for both. And thanks But could u explain the code a it? -
[1.7.10] Custom 3D Model like Slime Block from [1.8]
nidico100 replied to nidico100's topic in Modder Support
yeah i want a block which looks like the slime block -
I just made a block with transparent textures. It renders fine and work. But now i want a smaller cube inside this like it's shown in the 1.8 with the Slime Block. I don't know how to do this, please help.