Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

nidico100

Members
  • Joined

  • Last visited

Everything posted by nidico100

  1. wanted to add some methods to the class, but found a different way thanks anyway
  2. how to define the blockpos with 3 ints?
  3. I want to add something to the Original Entity.class how to do that?
  4. 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)
  5. I just forgot to put GameRegistry.registerTileEntity(TileEntityBlockSlime.class, "DowngradeMod"+"slimeBlock"); in the public void load in the main file, but thanks anyway
  6. Thank you very much!! It works But with the Particles I don't know the reason [/img]
  7. 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
  8. 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]
  9. The Block in Hand is rendering right, with transparency, but the placed Block isn't. And when I break the block there comes pink and black particles. [/img] RenderBlockSlime.java BlockSlime.java
  10. 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
  11. 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
  12. 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
  13. Thanks i will test it, because Techne didn't work on my pc it just bugged
  14. 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?
  15. yeah i want a block which looks like the slime block
  16. 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.

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.