Package net.minecraftforge.debug
Class DuplicateOptionalTagTest
- java.lang.Object
-
- net.minecraftforge.debug.DuplicateOptionalTagTest
-
public class DuplicateOptionalTagTest extends java.lang.Object
Tests that the values for defaulted optional tags defined in multiple places are combined.The optional tag defined by this mod is deliberately not defined in a data pack, to cause it to 'default' and trigger the behavior being tested.
- See Also:
- MinecraftForge/MinecraftForge#7570>
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.logging.log4j.Logger
LOGGER
(package private) static java.lang.String
MODID
private static Tags.IOptionalNamedTag<Block>
TAG_A
private static java.util.Set<java.util.function.Supplier<Block>>
TAG_A_DEFAULTS
private static Tags.IOptionalNamedTag<Block>
TAG_B
private static java.util.Set<java.util.function.Supplier<Block>>
TAG_B_DEFAULTS
private static ResourceLocation
TAG_NAME
-
Constructor Summary
Constructors Constructor Description DuplicateOptionalTagTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
onServerStarted(FMLServerStartedEvent event)
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
MODID
static final java.lang.String MODID
- See Also:
- Constant Field Values
-
TAG_NAME
private static final ResourceLocation TAG_NAME
-
TAG_A_DEFAULTS
private static final java.util.Set<java.util.function.Supplier<Block>> TAG_A_DEFAULTS
-
TAG_B_DEFAULTS
private static final java.util.Set<java.util.function.Supplier<Block>> TAG_B_DEFAULTS
-
TAG_A
private static final Tags.IOptionalNamedTag<Block> TAG_A
-
TAG_B
private static final Tags.IOptionalNamedTag<Block> TAG_B
-
-
Method Detail
-
onServerStarted
private void onServerStarted(FMLServerStartedEvent event)
-
-