-
How to place a block?
Problem did not solved. Can someone give me an example of block placing?
-
How to place a block?
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
-
How to place a block?
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
-
How to place a block?
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?
-
Error using discord rpc and forge
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.
-
Creating stumps in minecraft
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?)
-
Creating stumps in minecraft
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!
-
Creating stumps in minecraft
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.
-
Creating stumps in minecraft
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!
IPS spam blocked by CleanTalk.