Skip to content

Commit

Permalink
Edited CrabDigGoal
Browse files Browse the repository at this point in the history
Edited which crabs can dig
Removed plaques
Removed fish tanks
Removed TargetBoatGoal
  • Loading branch information
MysticKoko committed Nov 27, 2023
1 parent f2283ce commit 7824d88
Show file tree
Hide file tree
Showing 20 changed files with 49 additions and 436 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ object HybridAquaticClient : ClientModInitializer {
private fun registerBlockEntityRenderers() {
BlockEntityRendererFactories.register(HybridAquaticBlockEntityTypes.ANEMONE, ::AnemoneBlockEntityRenderer)
BlockEntityRendererFactories.register(HybridAquaticBlockEntityTypes.MESSAGE_IN_A_BOTTLE, ::MessageInABottleBlockEntityRenderer)
BlockEntityRendererFactories.register(HybridAquaticBlockEntityTypes.FISHING_PLAQUE, ::FishingPlaqueBlockEntityRenderer)
BlockEntityRendererFactories.register(HybridAquaticBlockEntityTypes.BUOY, ::BuoyBlockEntityRenderer)
BlockEntityRendererFactories.register(HybridAquaticBlockEntityTypes.HYDROTHERMAL_VENT, ::HydrothermalVentBlockEntityRenderer)
BlockEntityRendererFactories.register(HybridAquaticBlockEntityTypes.CRAB_POT, ::CrabPotBlockEntityRenderer)
Expand Down

This file was deleted.

94 changes: 0 additions & 94 deletions src/main/kotlin/dev/hybridlabs/aquatic/block/FishTankBlock.kt

This file was deleted.

79 changes: 0 additions & 79 deletions src/main/kotlin/dev/hybridlabs/aquatic/block/FishingPlaque.kt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,6 @@ object HybridAquaticBlocks {
.instrument(Instrument.CUSTOM_HEAD)
)
}

val FISHING_PLAQUE = register("fishing_plaque", FishingPlaque(FabricBlockSettings.create()))


// val FISH_TANK = register("fish_tank", FishTankBlock(
// FabricBlockSettings.create()
// .ticksRandomly()
// .strength(1.0f)
// .nonOpaque()
// .requiresTool()
// .sounds(BlockSoundGroup.GLASS)
// ))

private fun register(id: String, block: Block): Block {
return Registry.register(Registries.BLOCK, Identifier(HybridAquatic.MOD_ID, id), block)
}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import net.minecraft.util.Util
object HybridAquaticBlockEntityTypes {
val ANEMONE: BlockEntityType<AnemoneBlockEntity> = register("anemone", FabricBlockEntityTypeBuilder.create(::AnemoneBlockEntity, HybridAquaticBlocks.ANEMONE))
val MESSAGE_IN_A_BOTTLE: BlockEntityType<MessageInABottleBlockEntity> = register("message_in_a_bottle", FabricBlockEntityTypeBuilder.create(::MessageInABottleBlockEntity, HybridAquaticBlocks.MESSAGE_IN_A_BOTTLE))
val FISHING_PLAQUE: BlockEntityType<FishingPlaqueBlockEntity> = register("fishing_plaque", FabricBlockEntityTypeBuilder.create(::FishingPlaqueBlockEntity, HybridAquaticBlocks.FISHING_PLAQUE))
val BUOY: BlockEntityType<BuoyBlockEntity> = register("buoy", FabricBlockEntityTypeBuilder.create(::BuoyBlockEntity, HybridAquaticBlocks.BUOY))
val CRAB_POT: BlockEntityType<CrabPotBlockEntity> = register("crab_pot", FabricBlockEntityTypeBuilder.create(::CrabPotBlockEntity, HybridAquaticBlocks.CRAB_POT))
val HYDROTHERMAL_VENT: BlockEntityType<HydrothermalVentBlockEntity> = register("hydrothermal_vent", FabricBlockEntityTypeBuilder.create(::HydrothermalVentBlockEntity, HybridAquaticBlocks.HYDROTHERMAL_VENT))
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,10 @@ class GenericLootTableProvider(output: FabricDataOutput) : SimpleFabricLootTable
.randomSequenceId(HybridAquaticLootTables.CRAB_DIGGING_TREASURE_ID)
.pool(
LootPool.builder()
.with(ItemEntry.builder(Items.STICK).weight(10))
.with(ItemEntry.builder(Items.FLINT).weight(5))
.with(ItemEntry.builder(Items.AIR).weight(10))
.with(ItemEntry.builder(Items.NAUTILUS_SHELL).weight(2))
.with(ItemEntry.builder(Items.GOLD_NUGGET).weight(3))
.with(ItemEntry.builder(Items.IRON_NUGGET).weight(5))
)
)
}
Expand Down
Loading

0 comments on commit 7824d88

Please sign in to comment.