Interface ToggleableFeature

All Known Implementing Classes:
AbstractBannerBlock, AbstractBlock, AbstractCandleBlock, AbstractCauldronBlock, AbstractChestBlock, AbstractFireBlock, AbstractFurnaceBlock, AbstractPlantBlock, AbstractPlantPartBlock, AbstractPlantStemBlock, AbstractPressurePlateBlock, AbstractRailBlock, AbstractRedstoneGateBlock, AbstractSignBlock, AbstractSkullBlock, AbstractTorchBlock, AirBlock, AirBlockItem, AliasedBlockItem, AmethystBlock, AmethystClusterBlock, AnvilBlock, ArmorItem, ArmorStandItem, ArrowItem, AttachedStemBlock, AxeItem, AzaleaBlock, BambooBlock, BambooShootBlock, BannerBlock, BannerItem, BannerPatternItem, BarrelBlock, BarrierBlock, BeaconBlock, BedBlock, BedItem, BeehiveBlock, BeetrootsBlock, BellBlock, BigDripleafBlock, BigDripleafStemBlock, BlastFurnaceBlock, Block, BlockItem, BlockWithEntity, BoatItem, BoneMealItem, BookItem, 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, ChorusFruitItem, ChorusPlantBlock, CobwebBlock, CocoaBlock, ColoredFallingBlock, CommandBlock, ComparatorBlock, CompassItem, ComposterBlock, ConcretePowderBlock, ConduitBlock, ConnectingBlock, CoralBlock, CoralBlockBlock, CoralFanBlock, CoralParentBlock, CoralWallFanBlock, CrafterBlock, CraftingTableBlock, CropBlock, CrossbowItem, CryingObsidianBlock, DaylightDetectorBlock, DeadBushBlock, DeadCoralBlock, DeadCoralFanBlock, DeadCoralWallFanBlock, DebugStickItem, DecoratedPotBlock, DecorationItem, DetectorRailBlock, DirtPathBlock, DiscFragmentItem, DispenserBlock, DoorBlock, DragonEggBlock, DropperBlock, DyeableArmorItem, DyeableHorseArmorItem, DyedCarpetBlock, DyeItem, EggItem, ElytraItem, EmptyMapItem, EnchantedBookItem, EnchantedGoldenAppleItem, 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, HangingRootsBlock, HangingSignBlock, HangingSignItem, HayBlock, HoeItem, HoneyBlock, HoneyBottleItem, HoneycombItem, HopperBlock, HorizontalConnectingBlock, HorizontalFacingBlock, HorseArmorItem, IceBlock, InfestedBlock, InkSacItem, Item, ItemFrameItem, JigsawBlock, JukeboxBlock, KelpBlock, KelpPlantBlock, KnowledgeBookItem, LadderBlock, LanternBlock, LavaCauldronBlock, LeadItem, LeavesBlock, LecternBlock, LeveledCauldronBlock, LeverBlock, LightBlock, LightningRodBlock, LilyPadBlock, LingeringPotionItem, LoomBlock, MagmaBlock, MangroveLeavesBlock, MangroveRootsBlock, MilkBucketItem, MinecartItem, MiningToolItem, MossBlock, MudBlock, MultifaceGrowthBlock, MushroomBlock, MushroomPlantBlock, MusicDiscItem, MyceliumBlock, NameTagItem, NetherPortalBlock, NetherrackBlock, NetherStarItem, NetherWartBlock, NetworkSyncedItem, NoteBlock, NyliumBlock, ObserverBlock, OnAStickItem, OperatorOnlyBlockItem, OxidizableBlock, OxidizableBulbBlock, OxidizableDoorBlock, OxidizableGrateBlock, OxidizableSlabBlock, OxidizableStairsBlock, OxidizableTrapdoorBlock, PaneBlock, PickaxeItem, PillarBlock, PistonBlock, PistonExtensionBlock, PistonHeadBlock, PitcherCropBlock, PlaceableOnWaterItem, PlantBlock, PlayerHeadItem, PlayerSkullBlock, PointedDripstoneBlock, PotatoesBlock, PotionItem, PowderSnowBlock, PowderSnowBucketItem, PoweredRailBlock, PressurePlateBlock, PropaguleBlock, PumpkinBlock, RailBlock, RangedWeaponItem, RedstoneBlock, RedstoneLampBlock, RedstoneOreBlock, RedstoneTorchBlock, RedstoneWireBlock, RepeaterBlock, RespawnAnchorBlock, RodBlock, RootedDirtBlock, RootsBlock, RotatedInfestedBlock, SaddleItem, SaplingBlock, 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, StemBlock, StewItem, StonecutterBlock, StructureBlock, StructureVoidBlock, SugarCaneBlock, SuspiciousStewItem, SweetBerryBushBlock, SwordItem, TallBlockItem, TallFlowerBlock, TallPlantBlock, TallSeagrassBlock, TargetBlock, ThrowablePotionItem, TintedGlassBlock, TippedArrowItem, TntBlock, ToolItem, TorchBlock, TorchflowerBlock, TranslucentBlock, TransparentBlock, TrapdoorBlock, TrappedChestBlock, TrialSpawnerBlock, TridentItem, TripwireBlock, TripwireHookBlock, TurtleEggBlock, TwistingVinesBlock, TwistingVinesPlantBlock, VerticallyAttachableBlockItem, VineBlock, WallBannerBlock, WallBlock, WallHangingSignBlock, WallMountedBlock, WallPiglinHeadBlock, WallPlayerSkullBlock, WallRedstoneTorchBlock, WallSignBlock, WallSkullBlock, WallTorchBlock, WallWitherSkullBlock, WearableCarvedPumpkinBlock, WeepingVinesBlock, WeepingVinesPlantBlock, WeightedPressurePlateBlock, WetSpongeBlock, WitherRoseBlock, WitherSkullBlock, WritableBookItem, WrittenBookItem

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

    • FEATURE_ENABLED_REGISTRY_KEYS

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

    • getRequiredFeatures

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

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