Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 16:12:46 +01:00
New potion effects
Dieser Commit ist enthalten in:
Ursprung
c136bcb34d
Commit
e9e364636a
@ -27,7 +27,6 @@ package org.geysermc.geyser.registry.loader;
|
|||||||
|
|
||||||
import it.unimi.dsi.fastutil.ints.Int2ObjectMap;
|
import it.unimi.dsi.fastutil.ints.Int2ObjectMap;
|
||||||
import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap;
|
import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap;
|
||||||
import org.checkerframework.checker.nullness.qual.NonNull;
|
|
||||||
import org.cloudburstmc.protocol.bedrock.data.inventory.crafting.PotionMixData;
|
import org.cloudburstmc.protocol.bedrock.data.inventory.crafting.PotionMixData;
|
||||||
import org.geysermc.geyser.inventory.item.Potion;
|
import org.geysermc.geyser.inventory.item.Potion;
|
||||||
import org.geysermc.geyser.item.Items;
|
import org.geysermc.geyser.item.Items;
|
||||||
@ -75,6 +74,11 @@ public class PotionMixRegistryLoader implements RegistryLoader<Object, Int2Objec
|
|||||||
ingredients.add(getNonNull(mappings, Items.GHAST_TEAR));
|
ingredients.add(getNonNull(mappings, Items.GHAST_TEAR));
|
||||||
ingredients.add(getNonNull(mappings, Items.TURTLE_HELMET));
|
ingredients.add(getNonNull(mappings, Items.TURTLE_HELMET));
|
||||||
ingredients.add(getNonNull(mappings, Items.PHANTOM_MEMBRANE));
|
ingredients.add(getNonNull(mappings, Items.PHANTOM_MEMBRANE));
|
||||||
|
// 1.21
|
||||||
|
ingredients.add(getNonNull(mappings, Items.STONE));
|
||||||
|
ingredients.add(getNonNull(mappings, Items.SLIME_BLOCK));
|
||||||
|
ingredients.add(getNonNull(mappings, Items.COBWEB));
|
||||||
|
ingredients.add(getNonNull(mappings, Items.BREEZE_ROD));
|
||||||
|
|
||||||
List<ItemMapping> inputs = List.of(
|
List<ItemMapping> inputs = List.of(
|
||||||
getNonNull(mappings, Items.POTION),
|
getNonNull(mappings, Items.POTION),
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren