Interface ToggleableFeature

All Known Implementing Classes:
AbsorptionStatusEffect, AbstractBannerBlock, AbstractBlock, AbstractCandleBlock, AbstractCauldronBlock, AbstractChestBlock, AbstractCoralBlock, AbstractFireBlock, AbstractFurnaceBlock, AbstractPlantBlock, AbstractPlantPartBlock, AbstractPlantStemBlock, AbstractPressurePlateBlock, AbstractRailBlock, AbstractRedstoneGateBlock, AbstractSignBlock, AbstractSkullBlock, AbstractTorchBlock, AirBlock, AirBlockItem, AmethystBlock, AmethystClusterBlock, AnimalArmorItem, AnvilBlock, ArmorItem, ArmorStandItem, ArrowItem, AttachedStemBlock, AxeItem, AzaleaBlock, BadOmenStatusEffect, BambooBlock, BambooShootBlock, BannerBlock, BannerItem, BannerPatternItem, BarrelBlock, BarrierBlock, BeaconBlock, BedBlock, BedItem, BeehiveBlock, BeetrootsBlock, BellBlock, BigDripleafBlock, BigDripleafStemBlock, BlastFurnaceBlock, Block, BlockItem, BlockWithEntity, BoatItem, BoneMealItem, BowItem, BrewingStandBlock, BrushableBlock, BrushItem, BubbleColumnBlock, BucketItem, BuddingAmethystBlock, BulbBlock, BundleItem, ButtonBlock, CactusBlock, CakeBlock, CalibratedSculkSensorBlock, CampfireBlock, CandleBlock, CandleCakeBlock, CarpetBlock, CarrotsBlock, CartographyTableBlock, CarvedPumpkinBlock, CauldronBlock, CaveVinesBodyBlock, CaveVinesHeadBlock, ChainBlock, CherryLeavesBlock, ChestBlock, ChiseledBookshelfBlock, ChorusFlowerBlock, ChorusPlantBlock, CobwebBlock, CocoaBlock, ColoredFallingBlock, CommandBlock, ComparatorBlock, CompassItem, ComposterBlock, ConcretePowderBlock, ConduitBlock, ConnectingBlock, CoralBlock, CoralBlockBlock, CoralFanBlock, CoralWallFanBlock, CrafterBlock, CraftingTableBlock, CreakingHeartBlock, CropBlock, CrossbowItem, CryingObsidianBlock, DaylightDetectorBlock, DeadBushBlock, DeadCoralBlock, DeadCoralFanBlock, DeadCoralWallFanBlock, DebugStickItem, DecoratedPotBlock, DecorationItem, DetectorRailBlock, DirtPathBlock, DiscFragmentItem, DispenserBlock, DoorBlock, DragonEggBlock, DropperBlock, DyedCarpetBlock, DyeItem, EggItem, EmptyMapItem, EnchantingTableBlock, EndCrystalItem, EnderChestBlock, EnderEyeItem, EnderPearlItem, EndGatewayBlock, EndPortalBlock, EndPortalFrameBlock, EndRodBlock, EntityBucketItem, EntityType, ExperienceBottleItem, ExperienceDroppingBlock, FacingBlock, FallingBlock, FarmlandBlock, FenceBlock, FenceGateBlock, FilledMapItem, FireBlock, FireChargeItem, FireworkRocketItem, FireworkStarItem, FishingRodItem, FletchingTableBlock, FlintAndSteelItem, FlowerbedBlock, FlowerBlock, FlowerPotBlock, FluidBlock, FrogspawnBlock, FrostedIceBlock, FungusBlock, FurnaceBlock, GlassBottleItem, GlazedTerracottaBlock, GlowInkSacItem, GlowLichenBlock, GoatHornItem, GrassBlock, GrateBlock, GrindstoneBlock, HangingMossBlock, HangingRootsBlock, HangingSignBlock, HangingSignItem, HayBlock, HeavyCoreBlock, HoeItem, HoneyBlock, HoneycombItem, HopperBlock, HorizontalConnectingBlock, HorizontalFacingBlock, HungerStatusEffect, IceBlock, InfestedBlock, InfestedStatusEffect, InkSacItem, InstantHealthOrDamageStatusEffect, InstantStatusEffect, Item, ItemFrameItem, JigsawBlock, JukeboxBlock, KelpBlock, KelpPlantBlock, KnowledgeBookItem, LadderBlock, LanternBlock, LavaCauldronBlock, LeadItem, LeavesBlock, LecternBlock, LeveledCauldronBlock, LeverBlock, LightBlock, LightningRodBlock, LilyPadBlock, LingeringPotionItem, LoomBlock, MaceItem, MagmaBlock, MangroveLeavesBlock, MangroveRootsBlock, MinecartItem, MiningToolItem, MossBlock, MudBlock, MultifaceGrowthBlock, MushroomBlock, MushroomPlantBlock, MyceliumBlock, NameTagItem, NetherPortalBlock, NetherrackBlock, NetherWartBlock, NoteBlock, NyliumBlock, ObserverBlock, OnAStickItem, OozingStatusEffect, OperatorOnlyBlockItem, OxidizableBlock, OxidizableBulbBlock, OxidizableDoorBlock, OxidizableGrateBlock, OxidizableSlabBlock, OxidizableStairsBlock, OxidizableTrapdoorBlock, PaleMossCarpetBlock, PaneBlock, PickaxeItem, PillarBlock, PistonBlock, PistonExtensionBlock, PistonHeadBlock, PitcherCropBlock, PlaceableOnWaterItem, PlantBlock, PlayerHeadItem, PlayerSkullBlock, PointedDripstoneBlock, PoisonStatusEffect, PotatoesBlock, Potion, PotionItem, PowderSnowBlock, PowderSnowBucketItem, PoweredRailBlock, PressurePlateBlock, PropaguleBlock, PumpkinBlock, RaidOmenStatusEffect, RailBlock, RangedWeaponItem, RedstoneBlock, RedstoneLampBlock, RedstoneOreBlock, RedstoneTorchBlock, RedstoneWireBlock, RegenerationStatusEffect, RepeaterBlock, RespawnAnchorBlock, RodBlock, RootedDirtBlock, RootsBlock, RotatedInfestedBlock, SaddleItem, SaplingBlock, SaturationStatusEffect, ScaffoldingBlock, ScaffoldingItem, ScreenHandlerType, SculkBlock, SculkCatalystBlock, SculkSensorBlock, SculkShriekerBlock, SculkVeinBlock, SeagrassBlock, SeaPickleBlock, ShearsItem, ShieldItem, ShortPlantBlock, ShovelItem, ShulkerBoxBlock, SignBlock, SignItem, SkullBlock, SlabBlock, SlimeBlock, SmallDripleafBlock, SmithingTableBlock, SmithingTemplateItem, SmokerBlock, SnifferEggBlock, SnowballItem, SnowBlock, SnowyBlock, SoulFireBlock, SoulSandBlock, SpawnEggItem, SpawnerBlock, SpectralArrowItem, SplashPotionItem, SpongeBlock, SporeBlossomBlock, SpreadableBlock, SproutsBlock, SpyglassItem, StainedGlassBlock, StainedGlassPaneBlock, StairsBlock, StatusEffect, StemBlock, StonecutterBlock, StructureBlock, StructureVoidBlock, SugarCaneBlock, SweetBerryBushBlock, SwordItem, TallBlockItem, TallFlowerBlock, TallPlantBlock, TallSeagrassBlock, TargetBlock, ThrowablePotionItem, TintedGlassBlock, TippedArrowItem, TntBlock, TorchBlock, TorchflowerBlock, TranslucentBlock, TransparentBlock, TrapdoorBlock, TrappedChestBlock, TrialSpawnerBlock, TridentItem, TripwireBlock, TripwireHookBlock, TurtleEggBlock, TwistingVinesBlock, TwistingVinesPlantBlock, VaultBlock, VerticallyAttachableBlockItem, VineBlock, WallBannerBlock, WallBlock, WallHangingSignBlock, WallMountedBlock, WallPiglinHeadBlock, WallPlayerSkullBlock, WallRedstoneTorchBlock, WallSignBlock, WallSkullBlock, WallTorchBlock, WallWitherSkullBlock, WeavingStatusEffect, WeepingVinesBlock, WeepingVinesPlantBlock, WeightedPressurePlateBlock, WetSpongeBlock, WindChargedStatusEffect, WindChargeItem, WitherRoseBlock, WitherSkullBlock, WitherStatusEffect, WritableBookItem, WrittenBookItem

public interface ToggleableFeature
Mappings:
Namespace Name
named net/minecraft/resource/featuretoggle/ToggleableFeature
intermediary net/minecraft/class_7695
official csp
  • Field Details

    • FEATURE_ENABLED_REGISTRY_KEYS

      static final Set<RegistryKey<? extends Registry<? extends ToggleableFeature>>> FEATURE_ENABLED_REGISTRY_KEYS
      Mappings:
      Namespace Name Mixin selector
      named FEATURE_ENABLED_REGISTRY_KEYS Lnet/minecraft/resource/featuretoggle/ToggleableFeature;FEATURE_ENABLED_REGISTRY_KEYS:Ljava/util/Set;
      intermediary field_40162 Lnet/minecraft/class_7695;field_40162:Ljava/util/Set;
      official bU Lcsp;bU:Ljava/util/Set;
  • Method Details

    • getRequiredFeatures

      FeatureSet getRequiredFeatures()
      Mappings:
      Namespace Name Mixin selector
      named getRequiredFeatures Lnet/minecraft/resource/featuretoggle/ToggleableFeature;getRequiredFeatures()Lnet/minecraft/resource/featuretoggle/FeatureSet;
      intermediary method_45322 Lnet/minecraft/class_7695;method_45322()Lnet/minecraft/class_7699;
      official i Lcsp;i()Lcss;
    • isEnabled

      default boolean isEnabled(FeatureSet enabledFeatures)
      Mappings:
      Namespace Name Mixin selector
      named isEnabled Lnet/minecraft/resource/featuretoggle/ToggleableFeature;isEnabled(Lnet/minecraft/resource/featuretoggle/FeatureSet;)Z
      intermediary method_45382 Lnet/minecraft/class_7695;method_45382(Lnet/minecraft/class_7699;)Z
      official a Lcsp;a(Lcss;)Z