Class GardenRaidUtil

java.lang.Object
nokunami.floral_warfare.common.gardenOps.GardenRaidUtil

public class GardenRaidUtil extends Object
  • Constructor Details

    • GardenRaidUtil

      public GardenRaidUtil(net.minecraft.server.level.ServerLevel serverLevel)
  • Method Details

    • GRUtil

      public static GardenRaidUtil GRUtil(net.minecraft.server.level.ServerLevel level)
    • get

      public GardenRaidSavedData get()
    • isGarden

      public boolean isGarden(net.minecraft.core.BlockPos pos)
    • isGarden

      public boolean isGarden(net.minecraft.core.SectionPos pos)
    • isCloseToGarden

      public boolean isCloseToGarden(net.minecraft.core.BlockPos pos, int sections)
    • sectionsToGarden

      public int sectionsToGarden(net.minecraft.core.SectionPos pos)
    • getGardenRaidAt

      @Nullable public GardenRaid getGardenRaidAt(net.minecraft.core.BlockPos pos)
    • isGardenInvaded

      public boolean isGardenInvaded(net.minecraft.core.BlockPos pos)