Modifier and Type | Field and Description |
---|---|
private static RegistryObject<Block> |
DeferredRegistryTest.BLOCK |
private static RegistryObject<DeferredRegistryTest.Custom> |
DeferredRegistryTest.CUSTOM |
private static RegistryObject<Item> |
DeferredRegistryTest.ITEM |
Modifier and Type | Field and Description |
---|---|
static RegistryObject<FlowerPotBlock> |
FlowerPotTest.EMPTY_FLOWER_POT |
static RegistryObject<FlowerPotBlock> |
FlowerPotTest.OAK_FLOWER_POT |
private static RegistryObject<Block> |
PistonEventTest.shiftOnMove |
Modifier and Type | Field and Description |
---|---|
static RegistryObject<Block> |
CompositeModelTest.composite_block |
static RegistryObject<Item> |
CompositeModelTest.composite_item |
static RegistryObject<Item> |
NewModelLoaderTest.custom_loader |
static RegistryObject<Item> |
NewModelLoaderTest.custom_transforms |
static RegistryObject<Item> |
NewModelLoaderTest.custom_vanilla_loader |
static RegistryObject<Item> |
NewModelLoaderTest.item_layers |
static RegistryObject<Block> |
NewModelLoaderTest.obj_block |
static RegistryObject<Item> |
NewModelLoaderTest.obj_item |
private static RegistryObject<Block> |
TRSRTransformerTest.TEST_BLOCK |
private static RegistryObject<Item> |
TRSRTransformerTest.TEST_ITEM |
Modifier and Type | Field and Description |
---|---|
static RegistryObject<Block> |
NewFluidTest.fluidloggable_block |
static RegistryObject<Item> |
NewFluidTest.fluidloggable_blockitem |
static RegistryObject<FlowingFluid> |
NewFluidTest.test_fluid |
static RegistryObject<FlowingFluidBlock> |
NewFluidTest.test_fluid_block |
static RegistryObject<Item> |
NewFluidTest.test_fluid_bucket |
static RegistryObject<FlowingFluid> |
NewFluidTest.test_fluid_flowing |
Modifier and Type | Field and Description |
---|---|
private static RegistryObject<Item> |
CustomElytraTest.TEST_ELYTRA |
private static RegistryObject<Item> |
MusicDiscTest.TEST_MUSIC_DISC |
private static RegistryObject<SoundEvent> |
MusicDiscTest.TEST_SOUND_EVENT |
Modifier and Type | Field and Description |
---|---|
private static RegistryObject<Item> |
MarkDimensionForDeletionTest.DIM_ITEM |
private static RegistryObject<ModDimension> |
MarkDimensionForDeletionTest.DYNAMIC_DIMENSION_TYPE |
Modifier and Type | Field and Description |
---|---|
private static RegistryObject<?> |
RegistryObject.EMPTY |
Modifier and Type | Method and Description |
---|---|
private static <T extends IForgeRegistryEntry<? super T>> |
RegistryObject.empty() |
RegistryObject<T> |
RegistryObject.filter(java.util.function.Predicate<? super T> predicate)
If a mod object is present, and the mod object matches the given predicate,
return an
RegistryObject describing the value, otherwise return an
empty RegistryObject . |
static <T extends IForgeRegistryEntry<T>,U extends T> |
RegistryObject.of(ResourceLocation name,
java.lang.Class<T> baseType,
java.lang.String modid) |
static <T extends IForgeRegistryEntry<T>,U extends T> |
RegistryObject.of(ResourceLocation name,
IForgeRegistry<T> registry) |
static <T extends IForgeRegistryEntry<T>,U extends T> |
RegistryObject.of(ResourceLocation name,
java.util.function.Supplier<java.lang.Class<? super T>> registryType) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<RegistryObject<T>,java.util.function.Supplier<? extends T>> |
DeferredRegister.entries |
private java.util.Set<RegistryObject<T>> |
DeferredRegister.entriesView |
Modifier and Type | Method and Description |
---|---|
<I extends T> |
DeferredRegister.register(java.lang.String name,
java.util.function.Supplier<? extends I> sup)
Adds a new supplier to the list of entries to be registered, and returns a RegistryObject that will be populated with the created entry automatically.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<RegistryObject<T>> |
DeferredRegister.getEntries() |