diff options
| author | shedaniel <daniel@shedaniel.me> | 2021-05-22 04:10:24 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2021-05-22 04:10:24 +0800 |
| commit | e82ab958bc7d13e556d7426b7a1862ec76e23eba (patch) | |
| tree | 6b4dd9517552e4a21ce723c46151cddd84cb706d /default-plugin/src/main/java | |
| parent | 114a076d4556290d63dc4a93c13f24d14d3c09a5 (diff) | |
| download | RoughlyEnoughItems-e82ab958bc7d13e556d7426b7a1862ec76e23eba.tar.gz RoughlyEnoughItems-e82ab958bc7d13e556d7426b7a1862ec76e23eba.tar.bz2 RoughlyEnoughItems-e82ab958bc7d13e556d7426b7a1862ec76e23eba.zip | |
Initial port to 21w20a
Diffstat (limited to 'default-plugin/src/main/java')
| -rw-r--r-- | default-plugin/src/main/java/me/shedaniel/rei/plugin/client/DefaultClientPlugin.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/default-plugin/src/main/java/me/shedaniel/rei/plugin/client/DefaultClientPlugin.java b/default-plugin/src/main/java/me/shedaniel/rei/plugin/client/DefaultClientPlugin.java index 325995f52..05f670dcf 100644 --- a/default-plugin/src/main/java/me/shedaniel/rei/plugin/client/DefaultClientPlugin.java +++ b/default-plugin/src/main/java/me/shedaniel/rei/plugin/client/DefaultClientPlugin.java @@ -44,7 +44,6 @@ import me.shedaniel.rei.api.client.registry.screen.ExclusionZones; import me.shedaniel.rei.api.client.registry.screen.ScreenRegistry; import me.shedaniel.rei.api.client.registry.transfer.TransferHandlerRegistry; import me.shedaniel.rei.api.common.entry.EntryIngredient; -import me.shedaniel.rei.api.common.entry.type.VanillaEntryTypes; import me.shedaniel.rei.api.common.util.CollectionUtils; import me.shedaniel.rei.api.common.util.EntryIngredients; import me.shedaniel.rei.api.common.util.EntryStacks; @@ -258,9 +257,6 @@ public class DefaultClientPlugin implements REIClientPlugin, BuiltinClientPlugin DummyAxeItem.getStrippedBlocksMap().entrySet().stream().sorted(Comparator.comparing(b -> Registry.BLOCK.getKey(b.getKey()))).forEach(set -> { registry.add(new DefaultStrippingDisplay(EntryStacks.of(set.getKey()), EntryStacks.of(set.getValue()))); }); - DummyHoeItem.getTilledBlocksMap().entrySet().stream().sorted(Comparator.comparing(b -> Registry.BLOCK.getKey(b.getKey()))).forEach(set -> { - registry.add(new DefaultTillingDisplay(EntryStacks.of(set.getKey()), EntryStacks.of(set.getValue().getBlock()))); - }); DummyShovelItem.getPathBlocksMap().entrySet().stream().sorted(Comparator.comparing(b -> Registry.BLOCK.getKey(b.getKey()))).forEach(set -> { registry.add(new DefaultPathingDisplay(EntryStacks.of(set.getKey()), EntryStacks.of(set.getValue().getBlock()))); }); @@ -380,15 +376,4 @@ public class DefaultClientPlugin implements REIClientPlugin, BuiltinClientPlugin return STRIPPABLES; } } - - public static class DummyHoeItem extends HoeItem { - public DummyHoeItem(Tier tier, int i, float f, Properties properties) { - super(tier, i, f, properties); - } - - public static Map<Block, BlockState> getTilledBlocksMap() { - return TILLABLES; - } - } - } |
