Jump to content

cech12

Members
  • Posts

    5
  • Joined

  • Last visited

cech12's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hey guys, I have a question about buckets. I am creating a mod with a new type of bucket (Ceramic Bucket). The vanilla features (water, lava, milk) are working good. Now I want to be compatible with other mods. So I thought for every Fluid any other mod registered, I dynamically can register a new bucket. How can I get a list of all registered fluids to do it? Or is there an event where I can do it? Or is it a bad idea to register items dynamically? Maybe there is a class, which do something like I want to do? I searched a while but I could not find something like this. Thanks for your help!
  2. Hey! Thanks for your quick answers! For testing I readded the features with brown and red mushrooms to the biome where I started and some mushrooms are generated. The problem is, that I must do it for every biome with mushrooms inside. That feels not right. Or did you mean an other thing? Yes, I can understand your point. Mushrooms don't grow in that way (with age stages). And they can also grow to huge mushrooms. So here it would be better to invite a new event, for example CropSpreadEvent?! That is a good idea!
  3. Hey guys, I have a problem with changing the vanilla behaviour of mushrooms. I want to add a tree like automatic growing to mushrooms. The problem is, that I cannot change the original class. But there is the tick method, where the magic should happen. I tried to replace the Mushroom Object in the registry with an own Object that extends the MushroomBlock class. (https://github.com/cech12/ExtendedMushrooms/commit/61e451f15b10e2f875d19b68647dc2e404fc63db) That works but there are some problems with the world generation (no mushrooms anymore ?). So I searched through the internet and found the tip of using Events. But I cannot find an event which rises when a mushroom tick is done. The BlockEvent.CropGrowEvent.Pre would be a good way, but a mushroom tick does not fire this event. Is there any other way, to make the mushroom growing change? Thanks for your help! I work with Minecraft 1.14.4 and Forge 28.1.0
×
×
  • Create New...

Important Information

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