类 IsAmmoInstalled
java.lang.Object
mod.chloeprime.gunsmithlib.common.loot.IsAmmoInstalled
- 所有已实现的接口:
Predicate<net.minecraft.world.level.storage.loot.LootContext>,net.minecraft.world.level.storage.loot.LootContextUser,net.minecraft.world.level.storage.loot.predicates.LootItemCondition
@ParametersAreNonnullByDefault
public class IsAmmoInstalled
extends Object
implements net.minecraft.world.level.storage.loot.predicates.LootItemCondition
-
嵌套类概要
嵌套类 -
字段概要
字段从接口继承的字段 net.minecraft.world.level.storage.loot.predicates.LootItemCondition
DIRECT_CODEC, TYPED_CODEC -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明net.minecraft.resources.ResourceLocationnet.minecraft.world.level.storage.loot.predicates.LootItemConditionTypegetType()static IsAmmoInstalled.BuilderisAmmoInstalled(net.minecraft.resources.ResourceLocation ammoId) booleantest(net.minecraft.world.level.storage.loot.LootContext context) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 net.minecraft.world.level.storage.loot.LootContextUser
getReferencedContextParams, validate
-
字段详细资料
-
CODEC
-
-
构造器详细资料
-
IsAmmoInstalled
public IsAmmoInstalled(net.minecraft.resources.ResourceLocation ammoId)
-
-
方法详细资料
-
isAmmoInstalled
public static IsAmmoInstalled.Builder isAmmoInstalled(net.minecraft.resources.ResourceLocation ammoId) -
getAmmoId
public net.minecraft.resources.ResourceLocation getAmmoId() -
test
public boolean test(net.minecraft.world.level.storage.loot.LootContext context) -
getType
@Nonnull public net.minecraft.world.level.storage.loot.predicates.LootItemConditionType getType()- 指定者:
getType在接口中net.minecraft.world.level.storage.loot.predicates.LootItemCondition
-