Interface FWServerLevelAccessor


public interface FWServerLevelAccessor
  • Method Summary

    Modifier and Type
    Method
    Description
    FW$getGardenRaidAt(net.minecraft.core.BlockPos pos)
     
     
    boolean
    FW$isCloseToGarden(net.minecraft.core.BlockPos pos, int sections)
     
    boolean
    FW$isGarden(net.minecraft.core.BlockPos pos)
     
    boolean
    FW$isGarden(net.minecraft.core.SectionPos pos)
     
    boolean
    FW$isGardenInvaded(net.minecraft.core.BlockPos pos)
     
    int
    FW$sectionsToGarden(net.minecraft.core.SectionPos pos)
     
    static GardenRaid
    getGardenRaidAt(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos)
     
    getGardenRaids(net.minecraft.server.level.ServerLevel level)
     
    static boolean
    isCloseToGarden(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, int sections)
     
    static boolean
    isGarden(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos)
     
    static boolean
    isGarden(net.minecraft.server.level.ServerLevel level, net.minecraft.core.SectionPos pos)
     
    static boolean
    isGardenInvaded(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos)
     
    static int
    sectionsToGarden(net.minecraft.server.level.ServerLevel level, net.minecraft.core.SectionPos pos)
     
  • Method Details

    • FW$isGarden

      boolean FW$isGarden(net.minecraft.core.BlockPos pos)
    • FW$isGarden

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

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

      int FW$sectionsToGarden(net.minecraft.core.SectionPos pos)
    • FW$getGardenRaids

      GardenRaidSavedData FW$getGardenRaids()
    • FW$getGardenRaidAt

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

      boolean FW$isGardenInvaded(net.minecraft.core.BlockPos pos)
    • isGarden

      static boolean isGarden(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos)
    • isGarden

      static boolean isGarden(net.minecraft.server.level.ServerLevel level, net.minecraft.core.SectionPos pos)
    • isCloseToGarden

      static boolean isCloseToGarden(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, int sections)
    • sectionsToGarden

      static int sectionsToGarden(net.minecraft.server.level.ServerLevel level, net.minecraft.core.SectionPos pos)
    • getGardenRaids

      static GardenRaidSavedData getGardenRaids(net.minecraft.server.level.ServerLevel level)
    • getGardenRaidAt

      @Nullable static GardenRaid getGardenRaidAt(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos)
    • isGardenInvaded

      static boolean isGardenInvaded(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos)