类的使用
net.minecraft.loot.context.LootContextParameter
-
-
net.minecraft.loot.condition中LootContextParameter的使用
-
net.minecraft.loot.context中LootContextParameter的使用
声明为LootContextParameter的net.minecraft.loot.context中的字段 修饰符和类型 字段 说明 static LootContextParameter<BlockEntity>LootContextParameters. BLOCK_ENTITYstatic LootContextParameter<BlockState>LootContextParameters. BLOCK_STATEstatic LootContextParameter<DamageSource>LootContextParameters. DAMAGE_SOURCEstatic LootContextParameter<Entity>LootContextParameters. DIRECT_KILLER_ENTITYstatic LootContextParameter<Float>LootContextParameters. EXPLOSION_RADIUSstatic LootContextParameter<Entity>LootContextParameters. KILLER_ENTITYstatic LootContextParameter<PlayerEntity>LootContextParameters. LAST_DAMAGE_PLAYERstatic LootContextParameter<Vec3d>LootContextParameters. ORIGINprivate LootContextParameter<? extends Entity>LootContext.EntityTarget. parameterstatic LootContextParameter<Entity>LootContextParameters. THIS_ENTITYstatic LootContextParameter<ItemStack>LootContextParameters. TOOL类型参数类型为LootContextParameter的net.minecraft.loot.context中的字段 修饰符和类型 字段 说明 private Set<LootContextParameter<?>>LootContextType. allowedprivate Set<LootContextParameter<?>>LootContextType.Builder. allowedprivate Map<LootContextParameter<?>,Object>LootContext.Builder. parametersprivate Map<LootContextParameter<?>,Object>LootContext. parametersprivate Set<LootContextParameter<?>>LootContextType.Builder. requiredprivate Set<LootContextParameter<?>>LootContextType. required返回LootContextParameter的net.minecraft.loot.context中的方法 修饰符和类型 方法 说明 LootContextParameter<? extends Entity>LootContext.EntityTarget. getParameter()private static <T> LootContextParameter<T>LootContextParameters. register(String name)返回变量类型为LootContextParameter的类型的net.minecraft.loot.context中的方法 修饰符和类型 方法 说明 Set<LootContextParameter<?>>LootContextType. getAllowed()Set<LootContextParameter<?>>LootContextType. getRequired()default Set<LootContextParameter<?>>LootContextAware. getRequiredParameters()参数类型为LootContextParameter的net.minecraft.loot.context中的方法 修饰符和类型 方法 说明 LootContextType.BuilderLootContextType.Builder. allow(LootContextParameter<?> parameter)<T> TLootContext.Builder. get(LootContextParameter<T> parameter)<T> TLootContext. get(LootContextParameter<T> parameter)<T> TLootContext.Builder. getNullable(LootContextParameter<T> parameter)booleanLootContext. hasParameter(LootContextParameter<?> parameter)booleanLootContextType. isAllowed(LootContextParameter<?> parameter)<T> TLootContext. method_35508(LootContextParameter<T> lootContextParameter)<T> LootContext.BuilderLootContext.Builder. optionalParameter(LootContextParameter<T> key, T value)<T> LootContext.BuilderLootContext.Builder. parameter(LootContextParameter<T> key, T value)LootContextType.BuilderLootContextType.Builder. require(LootContextParameter<?> parameter)参数类型为LootContextParameter的net.minecraft.loot.context中的构造器 构造器 说明 EntityTarget(String type, LootContextParameter<? extends Entity> parameter)类型变量类型为LootContextParameter的net.minecraft.loot.context中的构造器参数 构造器 说明 LootContext(Random random, float luck, ServerWorld world, Function<Identifier,LootTable> tableGetter, Function<Identifier,LootCondition> conditionSetter, Map<LootContextParameter<?>,Object> parameters, Map<Identifier,LootContext.Dropper> drops)LootContextType(Set<LootContextParameter<?>> required, Set<LootContextParameter<?>> allowed) -
net.minecraft.loot.function中LootContextParameter的使用
声明为LootContextParameter的net.minecraft.loot.function中的字段 修饰符和类型 字段 说明 LootContextParameter<?>CopyNameLootFunction.Source. parameter参数类型为LootContextParameter的net.minecraft.loot.function中的构造器 构造器 说明 Source(String name, LootContextParameter<?> parameter) -
net.minecraft.loot.operator中LootContextParameter的使用
返回变量类型为LootContextParameter的类型的net.minecraft.loot.operator中的方法 修饰符和类型 方法 说明 Set<LootContextParameter<?>>BoundedIntUnaryOperator. getRequiredParameters() -
net.minecraft.loot.provider.nbt中LootContextParameter的使用
返回变量类型为LootContextParameter的类型的net.minecraft.loot.provider.nbt中的方法 修饰符和类型 方法 说明 Set<LootContextParameter<?>>ContextLootNbtProvider. getRequiredParameters()Set<LootContextParameter<?>>ContextLootNbtProvider.Target. getRequiredParameters()Set<LootContextParameter<?>>LootNbtProvider. getRequiredParameters()Set<LootContextParameter<?>>StorageLootNbtProvider. getRequiredParameters() -
net.minecraft.loot.provider.number中LootContextParameter的使用
返回变量类型为LootContextParameter的类型的net.minecraft.loot.provider.number中的方法 修饰符和类型 方法 说明 Set<LootContextParameter<?>>BinomialLootNumberProvider. getRequiredParameters()Set<LootContextParameter<?>>ScoreLootNumberProvider. getRequiredParameters()Set<LootContextParameter<?>>UniformLootNumberProvider. getRequiredParameters() -
net.minecraft.loot.provider.score中LootContextParameter的使用
返回变量类型为LootContextParameter的类型的net.minecraft.loot.provider.score中的方法 修饰符和类型 方法 说明 Set<LootContextParameter<?>>ContextLootScoreProvider. getRequiredParameters()Set<LootContextParameter<?>>FixedLootScoreProvider. getRequiredParameters()Set<LootContextParameter<?>>LootScoreProvider. getRequiredParameters()
-