Skip to content

Commit

Permalink
Fix NeoForge startup crash.
Browse files Browse the repository at this point in the history
  • Loading branch information
MerchantPug committed Dec 6, 2024
1 parent aa0d3c5 commit 2caa35f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
11 changes: 1 addition & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,2 @@
## Changes
- Removed distance restriction on custom block renderers.
- Updated Moobloom Spawn Egg to match Minecraft Earth's spawn egg.
- Allowed Mooblooms to spawn flowers every 4 seconds that a flower hasn't been placed if they are not moving enough.
- Added a plant sound whenever Mooblooms plant flowers.
- Mooblooms now emit game events when planting flowers.
- Mooblooms may now eat bone meal from dispensers.

## Bugfixes
- Fixed Mooblooms spreading flowers immediately upon feeding them bone meal.
- Fixed Mooblooms being able to spread flowers on blocks where flowers cannot be placed.
- [NEOFORGE] Fixed startup crash.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package house.greenhouse.bovinesandbuttercups.gradle

object Versions {
const val MOD = "2.0.1"
const val MOD = "2.0.2"

// Minecraft
const val MINECRAFT = "1.21.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,6 @@ public BovinesAndButtercupsNeoForge(IEventBus eventBus) {

@EventBusSubscriber(modid = BovinesAndButtercups.MOD_ID, bus = EventBusSubscriber.Bus.GAME)
public static class GameEvents {
@SubscribeEvent
public static void onCommonSetup(FMLCommonSetupEvent event) {
MoobloomEatDispenseBehavior.registerBehavior(MoobloomEatDispenseBehavior.INSTANCE);
}

@SubscribeEvent
public static void registerCommands(RegisterCommandsEvent event) {
BovinesCommands.register(event.getDispatcher(), event.getBuildContext());
Expand Down Expand Up @@ -327,6 +322,10 @@ public static void onEntityStruckByLightning(EntityStruckByLightningEvent event)

@EventBusSubscriber(modid = BovinesAndButtercups.MOD_ID, bus = EventBusSubscriber.Bus.MOD)
public static class ModEvents {
@SubscribeEvent
public static void onCommonSetup(FMLCommonSetupEvent event) {
MoobloomEatDispenseBehavior.registerBehavior(MoobloomEatDispenseBehavior.INSTANCE);
}

@SubscribeEvent
public static void createEntityAttributes(EntityAttributeCreationEvent event) {
Expand Down

0 comments on commit 2caa35f

Please sign in to comment.