Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/10/20 in all areas

  1. Yep, i am porting the BetterEnd fabric mod to Forge, because i find their asthetics crazy good (not really minecrafty though) and i think this mod deserves to be played by forge users also. Luckily they are working under the MIT license!
    1 point
  2. Check your imports. Usually that fixes the issue.
    1 point
  3. Because when the event is triggered the potion has not yet being applied to the entity. You can use PotionApplicableEvent instead, in there you can set the event result to DENY (see it's javadoc) and apply your own one.
    1 point
  4. You need to go into your FullSyringe class, go into the on-right-click method, and type: new ItemStack(ModItems.EMPTY_SYRINGE.get());
    1 point
  5. Oh sorry Vemerion, i actually solved that issue yesterday and forgot to say that in the post..i have not tried what you suggest so i don't know if it works but it seems it actually could. Anyway i solved it by giving away the structure deferred register and by using static initializers for the Structure and the StructureFeature. Those are then registered inside the RegistryEvent.Register<Structure<?>. This way the code above works because now the structure is known at the time the biome is initalized. I was kinda hoping to do the job without giving away the deferred register though..so i may also try your idea. World generation stuff really seems to be a dirty job to handle right now..
    1 point
  6. Seriously, Use the event not the static registries. Timing of registration is important. So stop doing it in random places. I was tempted to name the event 'RegisterYourStuffHereAndStopBreakingEverythingElseSeriouslyStopRegisteringYourCrapInRandomPlacesItBreaksThingsAndHoldsUsBackFromBeingAbleToDoCoolThingsThatWeveBeenWantingToDoForFourYearsNow' but I decided against that as it was a bit long
    1 point
×
×
  • Create New...

Important Information

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