Package de.teamlapen.werewolves.world
Class WerewolvesWorld
java.lang.Object
de.teamlapen.werewolves.world.WerewolvesWorld
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraftforge.common.capabilities.Capability<WerewolvesWorld> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull net.minecraftforge.common.capabilities.ICapabilityProvidercreateNewCapability(@NotNull net.minecraft.world.level.Level level) static @NotNull WerewolvesWorldget(@NotNull net.minecraft.world.level.Level level) Deprecated.static @NotNull net.minecraftforge.common.util.LazyOptional<WerewolvesWorld>getOpt(@NotNull net.minecraft.world.level.Level level) intisEffectedByWolfsbane(net.minecraft.core.BlockPos pos) intregisterWolfsbaneDiffuserBlock(int amplifier, net.minecraft.world.level.ChunkPos... chunks) voidremoveWolfsbaneBlocksBlock(int id)
-
Field Details
-
CAP
-
-
Constructor Details
-
WerewolvesWorld
public WerewolvesWorld(net.minecraft.world.level.Level level)
-
-
Method Details
-
get
@Deprecated @NotNull public static @NotNull WerewolvesWorld get(@NotNull @NotNull net.minecraft.world.level.Level level) Deprecated.Always prefergetOpt(Level) -
getOpt
@NotNull public static @NotNull net.minecraftforge.common.util.LazyOptional<WerewolvesWorld> getOpt(@NotNull @NotNull net.minecraft.world.level.Level level) -
createNewCapability
@NotNull public static @NotNull net.minecraftforge.common.capabilities.ICapabilityProvider createNewCapability(@NotNull @NotNull net.minecraft.world.level.Level level) -
registerWolfsbaneDiffuserBlock
public int registerWolfsbaneDiffuserBlock(int amplifier, net.minecraft.world.level.ChunkPos... chunks) -
removeWolfsbaneBlocksBlock
public void removeWolfsbaneBlocksBlock(int id) -
isEffectedByWolfsbane
public int isEffectedByWolfsbane(net.minecraft.core.BlockPos pos) -
damageSources
-
getOpt(Level)