Class WerewolvesWorld

java.lang.Object
de.teamlapen.werewolves.world.WerewolvesWorld

public class WerewolvesWorld extends Object
  • Field Details

    • CAP

      public static final net.minecraftforge.common.capabilities.Capability<WerewolvesWorld> 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 prefer getOpt(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

      public ModDamageSources damageSources()