You'll see soon enough ^^What stuff?
Maybe. I already thought about this and I might make an addon there. It might be a bit problematic as ice normally turns into water when broken.Also, are ice shards a good idea?
Not as simple as thatDelete the placeWater code there and do a simple dropItem
While the beggining of this statement is true. I believe that as developers we should try to make our code as good as possible. Especially in a large community of devs like this one where it is not guranteed that everyone is communicating. Using good practice will allow two thingsThe Minecraft code is full of bad practice, a bit more won't hurt.
Just to make the problem more complicated rightOddly enough, ice only reverts to water when it has some block underneath it.
You can turn water into ice. Thus you would get 1 ice + the shards dropped. Infinite loop right there :SWell maybe juat add a drop when it breaks and leave it turning into water? It wouldn't hurt.
How ice shards would work (to make it balanced) :
-very small chance of drop when broken
- 9 ice shards make an ice "lump" which then needs to be crafted in a 3x3 grid once again with a snow block in the middle. That would result in a single ice block.
Balanced enough?
Well maybe juat add a drop when it breaks and leave it turning into water? It wouldn't hurt.
How ice shards would work (to make it balanced) :
-very small chance of drop when broken
- 9 ice shards make an ice "lump" which then needs to be crafted in a 3x3 grid once again with a snow block in the middle. That would result in a single ice block.
Balanced enough?
That would be a good solution. You would need to oredict your ice to MC's ice so that it would be compatible with other mods. The rest is goodOr have it setup to change ice into another block that is only different in the code when it's placed by a player. This allows for everything to work as before except when placed as a player, as that would then drop items.
I've seen it done the way I mentioned before but to deal with finite water. Wouldn't be hard to change it for items.
That would be a good solution. You would need to oredict your ice to MC's ice so that it would be compatible with other mods. The rest is good
Ah I understand your point then. That does seem to be an optimal solutionNot needed. It would be vMC ice until placed, at which point it's changed to this other ice.
You wouldn't replace it. It would just change the block upon being placed. Then you craft shards back into regular ice.I have to look into these options. I don't really want to replace vanilla ice though.
I would also be adding a way to get packed ice.