Interface FWServerLevelAccessor
public interface FWServerLevelAccessor
-
Method Summary
Modifier and TypeMethodDescriptionFW$getGardenRaidAt(net.minecraft.core.BlockPos pos) booleanFW$isCloseToGarden(net.minecraft.core.BlockPos pos, int sections) booleanFW$isGarden(net.minecraft.core.BlockPos pos) booleanFW$isGarden(net.minecraft.core.SectionPos pos) booleanFW$isGardenInvaded(net.minecraft.core.BlockPos pos) intFW$sectionsToGarden(net.minecraft.core.SectionPos pos) static GardenRaidgetGardenRaidAt(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos) static GardenRaidSavedDatagetGardenRaids(net.minecraft.server.level.ServerLevel level) static booleanisCloseToGarden(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, int sections) static booleanisGarden(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos) static booleanisGarden(net.minecraft.server.level.ServerLevel level, net.minecraft.core.SectionPos pos) static booleanisGardenInvaded(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos) static intsectionsToGarden(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
-
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
-
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)
-