Class GardenRaidUtil
java.lang.Object
nokunami.floral_warfare.common.gardenOps.GardenRaidUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()getGardenRaidAt(net.minecraft.core.BlockPos pos) static GardenRaidUtilGRUtil(net.minecraft.server.level.ServerLevel level) booleanisCloseToGarden(net.minecraft.core.BlockPos pos, int sections) booleanisGarden(net.minecraft.core.BlockPos pos) booleanisGarden(net.minecraft.core.SectionPos pos) booleanisGardenInvaded(net.minecraft.core.BlockPos pos) intsectionsToGarden(net.minecraft.core.SectionPos pos)
-
Constructor Details
-
GardenRaidUtil
public GardenRaidUtil(net.minecraft.server.level.ServerLevel serverLevel)
-
-
Method Details
-
GRUtil
-
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
-
isGardenInvaded
public boolean isGardenInvaded(net.minecraft.core.BlockPos pos)
-