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.

DeDxYk594

Members
  • Joined

  • Last visited

  1. Problem did not solved. Can someone give me an example of block placing?
  2. I asked how to place a block, not about a troubles with my code. Can you give me an example? PS: Problem solved, see previous post
  3. I tried to use this code: @SubscribeEvent public void onBlockHarvested(BlockEvent.BreakEvent event) { IWorld world=event.getWorld(); world.setBlockState(event.getPos(),new BlockState(new Stump(),new ImmutableMap<String,String>())); } But I cannot instantiate the ImmutableMap class and I do not know how it uses
  4. Henlo! I do not know how to place a block. This trouble seems really stupid. I tried to place a block using IWorld.setBlockState(BlockPos pos,BlockState state), but using of this method have caused a misunderstandings with ImmutableMap<K,V> (it needs for instantiating BlockState class) How to place a block?
  5. 1.12.2 is outdated version now. Error messages says you that some packages does not exists. It may be caused by a lack of some mods. Try to repair files.
  6. I have continued exploring code of this mod, but there is nothing sensible for me. I wanna understand, how way can I store in a block his origin? (e.g. make birch stump "know" that it should render as a birch?)
  7. Ugh! Code of this mod (Horse Power) is ugly! No comments! But through reading this code I had understood that I should use the tile entity renderer. Thank you!
  8. Thank you for your answers. But I asked another aspect. I asked how to render stumps for various types of trees. I found answer on my question. Just explore HorsePower mod: https://github.com/GoryMoon/HorsePower . In this mod you have a chopping block made from any type of logs, e.g. modded.
  9. Henlo! I wounld like to create a mod that adds tree stumps in minecraft. When you felling a tree, there creates a stump block instead a dirt block under the tree. Stump should have textures of tree that was logged. I should create stumps for each tree type manually, or I have an ability to automate this process? (I wounld like to create stumps also for trees from other mods). Thamk you!

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.