Package net.minecraftforge.registries
Class VanillaRegisterEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.registries.VanillaRegisterEvent
- All Implemented Interfaces:
IModBusEvent
@Deprecated(forRemoval=true,
since="1.18.2")
class VanillaRegisterEvent
extends net.minecraftforge.eventbus.api.Event
implements IModBusEvent
Deprecated, for removal: This API element is subject to removal in a future version.
Intermediary event for registering to vanilla registries from both
Registry
and BuiltinRegistries
.
This is a stopgap measure until 1.19 comes with the rework of forge registries, at which point it will be deleted.
Internal for forge-uses only, see DeferredRegister.vanillaRegister(VanillaRegisterEvent)
for how it is used.-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Modifier and TypeFieldDescription(package private) final @NotNull Registry<?>
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorDescriptionVanillaRegisterEvent
(@NotNull Registry<?> vanillaRegistry) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
vanillaRegistry
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
VanillaRegisterEvent
VanillaRegisterEvent(@NotNull @NotNull Registry<?> vanillaRegistry) Deprecated, for removal: This API element is subject to removal in a future version.
-