Class BlockStateContextDataProvider
java.lang.Object
com.pixelmonmod.pixelmon.api.npc.interaction.provider.ImmutableDataProvider<net.minecraft.world.level.block.state.BlockState>
com.pixelmonmod.pixelmon.api.npc.interaction.provider.type.block.BlockStateContextDataProvider
- All Implemented Interfaces:
DataProvider<net.minecraft.world.level.block.state.BlockState>
public class BlockStateContextDataProvider
extends ImmutableDataProvider<net.minecraft.world.level.block.state.BlockState>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<BlockStateContextDataProvider> Fields inherited from class com.pixelmonmod.pixelmon.api.npc.interaction.provider.ImmutableDataProvider
codec -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable net.minecraft.world.level.block.state.BlockStateget(StoredContext context) of()DataProviderType<?, ?> type()Methods inherited from class com.pixelmonmod.pixelmon.api.npc.interaction.provider.ImmutableDataProvider
codecMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.pixelmonmod.pixelmon.api.npc.interaction.provider.DataProvider
fill, getKey, inputTypes
-
Field Details
-
CODEC
-
-
Constructor Details
-
BlockStateContextDataProvider
protected BlockStateContextDataProvider()
-
-
Method Details
-
of
-
type
-
get
@Nullable public @Nullable net.minecraft.world.level.block.state.BlockState get(StoredContext context)
-