-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from Arbee4ever/revert-4-release
Revert "First try to organize this repo more and implementation of #3"
- Loading branch information
Showing
33 changed files
with
109 additions
and
805 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,35 @@ | ||
package net.arbee.addola; | ||
|
||
import net.arbee.addola.registries.AddolaCommands; | ||
import net.arbee.addola.registries.AddolaEntities; | ||
import net.arbee.addola.registries.AddolaGamerules; | ||
import net.arbee.addola.registries.AddolaItems; | ||
import net.arbee.addola.entity.vehicle.ChestBoatEntity; | ||
import net.arbee.addola.item.ChestBoatItem; | ||
import net.arbee.addola.registries.Commands; | ||
import net.arbee.addola.registries.Gamerules; | ||
import net.fabricmc.api.ModInitializer; | ||
import net.fabricmc.fabric.api.item.v1.FabricItemSettings; | ||
import net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder; | ||
import net.minecraft.entity.EntityDimensions; | ||
import net.minecraft.entity.EntityType; | ||
import net.minecraft.entity.SpawnGroup; | ||
import net.minecraft.entity.vehicle.BoatEntity; | ||
import net.minecraft.item.ItemGroup; | ||
import net.minecraft.util.Identifier; | ||
import net.minecraft.util.registry.Registry; | ||
|
||
public class Addola implements ModInitializer { | ||
public static final String MOD_NAME = "Addola"; | ||
|
||
public static final ChestBoatItem CHESTBOAT_ITEM = new ChestBoatItem(BoatEntity.Type.OAK, new FabricItemSettings().group(ItemGroup.TRANSPORTATION)); | ||
|
||
public static final EntityType<ChestBoatEntity> CHESTBOAT = Registry.register( | ||
Registry.ENTITY_TYPE, | ||
new Identifier("addola", "chestboat"), | ||
FabricEntityTypeBuilder.<ChestBoatEntity>create(SpawnGroup.MISC, ChestBoatEntity::new).dimensions(EntityDimensions.fixed(1.375f, 0.5625f)).build() | ||
); | ||
|
||
@Override | ||
public void onInitialize() { | ||
AddolaGamerules.setupGamerules(); | ||
AddolaCommands.setupCommands(); | ||
AddolaEntities.setupEntities(); | ||
AddolaItems.setupItems(); | ||
Registry.register(Registry.ITEM, new Identifier("addola", "chestboat"), CHESTBOAT_ITEM); | ||
Gamerules.setupGamerules(); | ||
Commands.setupCommands(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 0 additions & 29 deletions
29
src/main/java/net/arbee/addola/client/render/BoatItemRenderer.java
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
src/main/java/net/arbee/addola/client/render/ChestBoatItemRenderer.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.