类的使用
net.minecraft.entity.effect.StatusEffect
-
-
net.minecraft.block中StatusEffect的使用
声明为StatusEffect的net.minecraft.block中的字段 修饰符和类型 字段 说明 private StatusEffectFlowerBlock. effectInStew返回StatusEffect的net.minecraft.block中的方法 修饰符和类型 方法 说明 StatusEffectFlowerBlock. getEffectInStew()参数类型为StatusEffect的net.minecraft.block中的构造器 构造器 说明 FlowerBlock(StatusEffect suspiciousStewEffect, int effectDuration, AbstractBlock.Settings settings)WitherRoseBlock(StatusEffect effect, AbstractBlock.Settings settings) -
net.minecraft.block.entity中StatusEffect的使用
声明为StatusEffect的net.minecraft.block.entity中的字段 修饰符和类型 字段 说明 static StatusEffect[][]BeaconBlockEntity. EFFECTS_BY_LEVELprivate @Nullable StatusEffectBeaconBlockEntity. primaryprivate @Nullable StatusEffectBeaconBlockEntity. secondary类型参数类型为StatusEffect的net.minecraft.block.entity中的字段 修饰符和类型 字段 说明 private static Set<StatusEffect>BeaconBlockEntity. EFFECTS返回StatusEffect的net.minecraft.block.entity中的方法 修饰符和类型 方法 说明 private static @Nullable StatusEffectBeaconBlockEntity. getPotionEffectById(int id)参数类型为StatusEffect的net.minecraft.block.entity中的方法 修饰符和类型 方法 说明 private static voidBeaconBlockEntity. applyPlayerEffects(World world, BlockPos pos, int beaconLevel, @Nullable StatusEffect primaryEffect, @Nullable StatusEffect secondaryEffect) -
net.minecraft.client.gui.screen.ingame中StatusEffect的使用
声明为StatusEffect的net.minecraft.client.gui.screen.ingame中的字段 修饰符和类型 字段 说明 private StatusEffectBeaconScreen.EffectButtonWidget. effectprivate StatusEffectBeaconScreen. primaryEffectprivate StatusEffectBeaconScreen. secondaryEffect参数类型为StatusEffect的net.minecraft.client.gui.screen.ingame中的方法 修饰符和类型 方法 说明 private TextBeaconScreen.EffectButtonWidget. getTextForEffect(StatusEffect effect, boolean primary)参数类型为StatusEffect的net.minecraft.client.gui.screen.ingame中的构造器 构造器 说明 EffectButtonWidget(int x, int y, StatusEffect statusEffect, boolean primary) -
net.minecraft.client.network中StatusEffect的使用
参数类型为StatusEffect的net.minecraft.client.network中的方法 修饰符和类型 方法 说明 @Nullable StatusEffectInstanceClientPlayerEntity. removeStatusEffectInternal(@Nullable StatusEffect type)Removes a status effect from this entity without calling any listener. -
net.minecraft.client.texture中StatusEffect的使用
参数类型为StatusEffect的net.minecraft.client.texture中的方法 修饰符和类型 方法 说明 SpriteStatusEffectSpriteManager. getSprite(StatusEffect effect) -
net.minecraft.command.argument中StatusEffect的使用
返回StatusEffect的net.minecraft.command.argument中的方法 修饰符和类型 方法 说明 static StatusEffectStatusEffectArgumentType. getStatusEffect(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)StatusEffectStatusEffectArgumentType. parse(com.mojang.brigadier.StringReader stringReader) -
net.minecraft.entity中StatusEffect的使用
类型参数类型为StatusEffect的net.minecraft.entity中的字段 修饰符和类型 字段 说明 private Map<StatusEffect,StatusEffectInstance>LivingEntity. activeStatusEffects返回变量类型为StatusEffect的类型的net.minecraft.entity中的方法 修饰符和类型 方法 说明 Map<StatusEffect,StatusEffectInstance>LivingEntity. getActiveStatusEffects()参数类型为StatusEffect的net.minecraft.entity中的方法 修饰符和类型 方法 说明 @Nullable StatusEffectInstanceLivingEntity. getStatusEffect(StatusEffect effect)booleanLivingEntity. hasStatusEffect(StatusEffect effect)booleanLivingEntity. removeStatusEffect(StatusEffect type)Removes a status effect from this entity.@Nullable StatusEffectInstanceLivingEntity. removeStatusEffectInternal(@Nullable StatusEffect type)Removes a status effect from this entity without calling any listener. -
net.minecraft.entity.effect中StatusEffect的使用
net.minecraft.entity.effect中StatusEffect的子类 修饰符和类型 类 说明 classAbsorptionStatusEffectclassDamageModifierStatusEffectclassHealthBoostStatusEffectclassInstantStatusEffect声明为StatusEffect的net.minecraft.entity.effect中的字段 修饰符和类型 字段 说明 static StatusEffectStatusEffects. ABSORPTIONstatic StatusEffectStatusEffects. BAD_OMENstatic StatusEffectStatusEffects. BLINDNESSstatic StatusEffectStatusEffects. CONDUIT_POWERstatic StatusEffectStatusEffects. DOLPHINS_GRACEstatic StatusEffectStatusEffects. FIRE_RESISTANCEstatic StatusEffectStatusEffects. GLOWINGstatic StatusEffectStatusEffects. HASTEstatic StatusEffectStatusEffects. HEALTH_BOOSTstatic StatusEffectStatusEffects. HERO_OF_THE_VILLAGEstatic StatusEffectStatusEffects. HUNGERstatic StatusEffectStatusEffects. INSTANT_DAMAGEstatic StatusEffectStatusEffects. INSTANT_HEALTHstatic StatusEffectStatusEffects. INVISIBILITYstatic StatusEffectStatusEffects. JUMP_BOOSTstatic StatusEffectStatusEffects. LEVITATIONstatic StatusEffectStatusEffects. LUCKstatic StatusEffectStatusEffects. MINING_FATIGUEstatic StatusEffectStatusEffects. NAUSEAstatic StatusEffectStatusEffects. NIGHT_VISIONstatic StatusEffectStatusEffects. POISONstatic StatusEffectStatusEffects. REGENERATIONstatic StatusEffectStatusEffects. RESISTANCEstatic StatusEffectStatusEffects. SATURATIONstatic StatusEffectStatusEffects. SLOW_FALLINGstatic StatusEffectStatusEffects. SLOWNESSstatic StatusEffectStatusEffects. SPEEDstatic StatusEffectStatusEffects. STRENGTHprivate StatusEffectStatusEffectInstance. typestatic StatusEffectStatusEffects. UNLUCKstatic StatusEffectStatusEffects. WATER_BREATHINGstatic StatusEffectStatusEffects. WEAKNESSstatic StatusEffectStatusEffects. WITHER返回StatusEffect的net.minecraft.entity.effect中的方法 修饰符和类型 方法 说明 StatusEffectStatusEffect. addAttributeModifier(EntityAttribute attribute, String uuid, double amount, EntityAttributeModifier.Operation operation)static @Nullable StatusEffectStatusEffect. byRawId(int rawId)StatusEffectStatusEffectInstance. getEffectType()private static StatusEffectStatusEffects. register(int rawId, String id, StatusEffect entry)参数类型为StatusEffect的net.minecraft.entity.effect中的方法 修饰符和类型 方法 说明 private static StatusEffectInstanceStatusEffectInstance. fromNbt(StatusEffect type, CompoundTag nbt)static intStatusEffect. getRawId(StatusEffect type)private static StatusEffectStatusEffects. register(int rawId, String id, StatusEffect entry)参数类型为StatusEffect的net.minecraft.entity.effect中的构造器 构造器 说明 StatusEffectInstance(StatusEffect type)StatusEffectInstance(StatusEffect type, int duration)StatusEffectInstance(StatusEffect type, int duration, int amplifier)StatusEffectInstance(StatusEffect type, int duration, int amplifier, boolean ambient, boolean visible)StatusEffectInstance(StatusEffect type, int duration, int amplifier, boolean ambient, boolean showParticles, boolean showIcon)StatusEffectInstance(StatusEffect type, int duration, int amplifier, boolean ambient, boolean showParticles, boolean showIcon, @Nullable StatusEffectInstance hiddenEffect) -
net.minecraft.entity.mob中StatusEffect的使用
声明为StatusEffect的net.minecraft.entity.mob中的字段 修饰符和类型 字段 说明 StatusEffectSpiderEntity.SpiderData. effect -
net.minecraft.entity.passive中StatusEffect的使用
声明为StatusEffect的net.minecraft.entity.passive中的字段 修饰符和类型 字段 说明 private StatusEffectMooshroomEntity. stewEffect返回变量类型为StatusEffect的类型的net.minecraft.entity.passive中的方法 修饰符和类型 方法 说明 private Optional<Pair<StatusEffect,Integer>>MooshroomEntity. getStewEffectFrom(ItemStack flower) -
net.minecraft.item中StatusEffect的使用
参数类型为StatusEffect的net.minecraft.item中的方法 修饰符和类型 方法 说明 static voidSuspiciousStewItem. addEffectToStew(ItemStack stew, StatusEffect effect, int duration) -
net.minecraft.loot.function中StatusEffect的使用
类型参数类型为StatusEffect的net.minecraft.loot.function中的字段 修饰符和类型 字段 说明 private Map<StatusEffect,LootNumberProvider>SetStewEffectLootFunction. effectsprivate Map<StatusEffect,LootNumberProvider>SetStewEffectLootFunction.Builder. map参数类型为StatusEffect的net.minecraft.loot.function中的方法 修饰符和类型 方法 说明 SetStewEffectLootFunction.BuilderSetStewEffectLootFunction.Builder. withEffect(StatusEffect effect, LootNumberProvider durationRange)类型变量类型为StatusEffect的net.minecraft.loot.function中的构造器参数 构造器 说明 SetStewEffectLootFunction(LootCondition[] conditions, Map<StatusEffect,LootNumberProvider> effects) -
net.minecraft.network.packet.s2c.play中StatusEffect的使用
声明为StatusEffect的net.minecraft.network.packet.s2c.play中的字段 修饰符和类型 字段 说明 private StatusEffectRemoveEntityStatusEffectS2CPacket. effectType返回StatusEffect的net.minecraft.network.packet.s2c.play中的方法 修饰符和类型 方法 说明 @Nullable StatusEffectRemoveEntityStatusEffectS2CPacket. getEffectType()参数类型为StatusEffect的net.minecraft.network.packet.s2c.play中的构造器 构造器 说明 RemoveEntityStatusEffectS2CPacket(int entityId, StatusEffect effectType) -
net.minecraft.predicate.entity中StatusEffect的使用
类型参数类型为StatusEffect的net.minecraft.predicate.entity中的字段 修饰符和类型 字段 说明 private Map<StatusEffect,EntityEffectPredicate.EffectData>EntityEffectPredicate. effects参数类型为StatusEffect的net.minecraft.predicate.entity中的方法 修饰符和类型 方法 说明 EntityEffectPredicateEntityEffectPredicate. withEffect(StatusEffect statusEffect)EntityEffectPredicateEntityEffectPredicate. withEffect(StatusEffect statusEffect, EntityEffectPredicate.EffectData data)类型变量类型为StatusEffect的net.minecraft.predicate.entity中的方法参数 修饰符和类型 方法 说明 booleanEntityEffectPredicate. test(Map<StatusEffect,StatusEffectInstance> effects)类型变量类型为StatusEffect的net.minecraft.predicate.entity中的构造器参数 构造器 说明 EntityEffectPredicate(Map<StatusEffect,EntityEffectPredicate.EffectData> effects) -
net.minecraft.screen中StatusEffect的使用
返回StatusEffect的net.minecraft.screen中的方法 修饰符和类型 方法 说明 @Nullable StatusEffectBeaconScreenHandler. getPrimaryEffect()@Nullable StatusEffectBeaconScreenHandler. getSecondaryEffect() -
net.minecraft.server.command中StatusEffect的使用
参数类型为StatusEffect的net.minecraft.server.command中的方法 修饰符和类型 方法 说明 private static intEffectCommand. executeClear(ServerCommandSource source, Collection<? extends Entity> targets, StatusEffect effect)private static intEffectCommand. executeGive(ServerCommandSource source, Collection<? extends Entity> targets, StatusEffect effect, @Nullable Integer seconds, int amplifier, boolean showParticles) -
net.minecraft.util.registry中StatusEffect的使用
类型参数类型为StatusEffect的net.minecraft.util.registry中的字段 修饰符和类型 字段 说明 static RegistryKey<Registry<StatusEffect>>Registry. MOB_EFFECT_KEYstatic Registry<StatusEffect>Registry. STATUS_EFFECT -
net.minecraft.village中StatusEffect的使用
声明为StatusEffect的net.minecraft.village中的字段 修饰符和类型 字段 说明 (专用程序包) StatusEffectTradeOffers.SellSuspiciousStewFactory. effect参数类型为StatusEffect的net.minecraft.village中的构造器 构造器 说明 SellSuspiciousStewFactory(StatusEffect effect, int duration, int experience)
-