-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
70 additions
and
80 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
.../34fccd505a7f103798763bd76d66026e8045116b → .../75bcd4dba6ca7d365462b0ec45e291d1056349c4
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,3 +1,3 @@ | ||
// 1.19.4 2023-05-13T15:45:29.3455678 Omni-Hopper/Tags for minecraft:block | ||
// 1.19 2023-05-14T12:21:52.9004451 Tags for minecraft:block | ||
ff81d82d656cfc039ebfcb6aecc7664c6ecf13e3 data\minecraft\tags\blocks\mineable\axe.json | ||
30c02540c68c2f27f8b13a1aa9db5b33cfecc0b3 data\minecraft\tags\blocks\mineable\pickaxe.json |
2 changes: 1 addition & 1 deletion
2
.../5c2454c9f5d30514859bd8bb0bdb0a7e1b25d12e → .../dc1d6e7286e7569a79007c10f809d49635ea1c49
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
Empty file.
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
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
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
13 changes: 6 additions & 7 deletions
13
src/main/java/nl/enjarai/omnihopper/blocks/hopper/WoodenHopperBlock.java
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
11 changes: 5 additions & 6 deletions
11
src/main/java/nl/enjarai/omnihopper/blocks/hopper/WoodenOmniHopperBlock.java
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
9 changes: 5 additions & 4 deletions
9
src/main/java/nl/enjarai/omnihopper/datagen/ModLootTables.java
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,16 +1,17 @@ | ||
package nl.enjarai.omnihopper.datagen; | ||
|
||
import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput; | ||
import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator; | ||
import net.fabricmc.fabric.api.datagen.v1.provider.FabricBlockLootTableProvider; | ||
import net.minecraft.data.server.BlockLootTableGenerator; | ||
import nl.enjarai.omnihopper.blocks.ModBlocks; | ||
|
||
public class ModLootTables extends FabricBlockLootTableProvider { | ||
protected ModLootTables(FabricDataOutput dataOutput) { | ||
protected ModLootTables(FabricDataGenerator dataOutput) { | ||
super(dataOutput); | ||
} | ||
|
||
@Override | ||
public void generate() { | ||
ModBlocks.ALL.forEach(block -> addDrop(block, this::nameableContainerDrops)); | ||
protected void generateBlockLootTables() { | ||
ModBlocks.ALL.forEach(block -> addDrop(block, BlockLootTableGenerator::nameableContainerDrops)); | ||
} | ||
} |
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
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
8 changes: 3 additions & 5 deletions
8
src/main/java/nl/enjarai/omnihopper/screen/ModScreenHandlers.java
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,16 +1,14 @@ | ||
package nl.enjarai.omnihopper.screen; | ||
|
||
import net.minecraft.registry.Registries; | ||
import net.minecraft.registry.Registry; | ||
import net.minecraft.resource.featuretoggle.FeatureFlags; | ||
import net.minecraft.screen.ScreenHandlerType; | ||
import net.minecraft.util.registry.Registry; | ||
import nl.enjarai.omnihopper.OmniHopper; | ||
|
||
public class ModScreenHandlers { | ||
public static final ScreenHandlerType<OneSlotHopperScreenHandler> ONE_SLOT_HOPPER = | ||
new ScreenHandlerType<>(OneSlotHopperScreenHandler::new, FeatureFlags.VANILLA_FEATURES); | ||
new ScreenHandlerType<>(OneSlotHopperScreenHandler::new); | ||
|
||
public static void register() { | ||
Registry.register(Registries.SCREEN_HANDLER, OmniHopper.id("one_slot_hopper"), ONE_SLOT_HOPPER); | ||
Registry.register(Registry.SCREEN_HANDLER, OmniHopper.id("one_slot_hopper"), ONE_SLOT_HOPPER); | ||
} | ||
} |
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.