Package net.minecraftforge.registries
Interface IForgeRegistryEntry<V>
- All Known Subinterfaces:
RecipeSerializer<T>
- All Known Implementing Classes:
AbsoptionMobEffect
,AbstractBannerBlock
,AbstractCandleBlock
,AbstractCauldronBlock
,AbstractChestBlock
,AbstractFurnaceBlock
,AbstractGlassBlock
,AbstractHugeMushroomFeature
,AbstractSkullBlock
,Activity
,AirBlock
,AirItem
,AmethystBlock
,AmethystClusterBlock
,AnvilBlock
,ArmorItem
,ArmorStandItem
,ArrowDamageEnchantment
,ArrowFireEnchantment
,ArrowInfiniteEnchantment
,ArrowItem
,ArrowKnockbackEnchantment
,ArrowPiercingEnchantment
,AttachedStemBlock
,AttackDamageMobEffect
,Attribute
,AxeItem
,AzaleaBlock
,BambooBlock
,BambooFeature
,BambooSaplingBlock
,BannerBlock
,BannerItem
,BannerPatternItem
,BarrelBlock
,BarrierBlock
,BasaltColumnsFeature
,BasaltPillarFeature
,BaseCoralFanBlock
,BaseCoralPlantBlock
,BaseCoralPlantTypeBlock
,BaseCoralWallFanBlock
,BaseDiskFeature
,BaseEntityBlock
,BaseFireBlock
,BasePressurePlateBlock
,BaseRailBlock
,BastionFeature
,BeaconBlock
,BedBlock
,BedItem
,BeehiveBlock
,BeetrootBlock
,BellBlock
,BigDripleafBlock
,BigDripleafStemBlock
,BindingCurseEnchantment
,Biome
,BlastFurnaceBlock
,Block
,BlockBehaviour
,BlockBlobFeature
,BlockColumnFeature
,BlockEntityOnLoadTest.TestBlock
,BlockEntityType
,BlockItem
,BlockPileFeature
,BlockStateChangeTest.TestBlock
,BlockStateProviderType
,BlueIceFeature
,BoatItem
,BoneMealItem
,BonusChestFeature
,BookItem
,BottleItem
,BowItem
,BowlFoodItem
,BrewingStandBlock
,BubbleColumnBlock
,BucketItem
,BuddingAmethystBlock
,BundleItem
,BuriedTreasureFeature
,BushBlock
,ButtonBlock
,CactusBlock
,CakeBlock
,CampfireBlock
,CandleBlock
,CandleCakeBlock
,CanyonWorldCarver
,CarpetBlock
,CarrotBlock
,CartographyTableBlock
,CarvedPumpkinBlock
,CauldronBlock
,CaveVinesBlock
,CaveVinesPlantBlock
,CaveWorldCarver
,ChainBlock
,ChestBlock
,ChorusFlowerBlock
,ChorusFruitItem
,ChorusPlantBlock
,ChorusPlantFeature
,ChunkStatus
,CocoaBlock
,CommandBlock
,ComparatorBlock
,CompassItem
,ComplexItem
,ComposterBlock
,ConcretePowderBlock
,ConditionalRecipe.Serializer
,ConduitBlock
,CoralBlock
,CoralClawFeature
,CoralFanBlock
,CoralFeature
,CoralMushroomFeature
,CoralPlantBlock
,CoralTreeFeature
,CoralWallFanBlock
,CraftingTableBlock
,CropBlock
,CrossbowItem
,CrossCollisionBlock
,CryingObsidianBlock
,CustomArmorModelTest.EndermanArmorItem
,CustomArmorModelTest.TintedArmorItem
,CustomElytraTest.CustomElytra
,CustomHeadTest.CustomSkullBlock
,CustomHeadTest.CustomWallSkullBlock
,CustomPlantTypeTest.CustomBlock
,CustomPlantTypeTest.CustomPlantBlock
,CustomRespawnTest.CustomRespawnBlock
,CustomShieldTest.CustomShieldItem
,CustomSignsTest.CustomStandingSignBlock
,CustomSignsTest.CustomWallSignBlock
,CustomTooltipTest.CustomItemWithTooltip
,CustomTransformTypeTest.ItemHangerBlock
,CustomTransformTypeTest.ItemHangerItem
,DamageEnchantment
,DataPackRegistriesTest.Syncable
,DataPackRegistriesTest.Unsyncable
,DataSerializerEntry
,DaylightDetectorBlock
,DeadBushBlock
,DebugStickItem
,DeferredRegistryTest.Custom
,DeltaFeature
,DesertPyramidFeature
,DesertWellFeature
,DetectorRailBlock
,DigDurabilityEnchantment
,DiggerItem
,DiggingEnchantment
,DiodeBlock
,DirectionalBlock
,DirtPathBlock
,DiskReplaceFeature
,DispenserBlock
,DoorBlock
,DoubleHighBlockItem
,DoublePlantBlock
,DragonEggBlock
,DripstoneClusterFeature
,DropperBlock
,DyeableArmorItem
,DyeableHorseArmorItem
,DyeItem
,DynamicMapColorTest.TestBlock
,EggItem
,ElytraItem
,EmptyFluid
,EmptyMapItem
,EnchantedBookItem
,EnchantedGoldenAppleItem
,Enchantment
,EnchantmentTableBlock
,EndCityFeature
,EndCrystalItem
,EnderChestBlock
,EnderEyeItem
,EnderpearlItem
,EndGatewayBlock
,EndGatewayFeature
,EndIslandFeature
,EndPodiumFeature
,EndPortalBlock
,EndPortalFrameBlock
,EndRodBlock
,EntityType
,ExperienceBottleItem
,FaceAttachedHorizontalDirectionalBlock
,FallingBlock
,FarmBlock
,Feature
,FenceBlock
,FenceGateBlock
,FillLayerFeature
,FireAspectEnchantment
,FireBlock
,FireChargeItem
,FireworkRocketItem
,FireworkStarItem
,FishingRodItem
,FishingSpeedEnchantment
,FletchingTableBlock
,FlintAndSteelItem
,FlowerBlock
,FlowerPotBlock
,FlowingFluid
,Fluid
,FoliagePlacerType
,FoodOnAStickItem
,ForgeChunkManagerTest.ChunkLoaderBlock
,ForgeFlowingFluid
,ForgeFlowingFluid.Flowing
,ForgeFlowingFluid.Source
,ForgeRegistryEntry
,ForgeRegistryEntry.UncheckedRegistryEntry
,ForgeSpawnEggItem
,ForgeWorldPreset
,FossilFeature
,FrostedIceBlock
,FrostWalkerEnchantment
,FullPotsAccessorDemo.DioriteFlowerPotBlock
,FungusBlock
,FurnaceBlock
,GameData.BlockCallbacks.BlockDummyAir
,GameMasterBlockItem
,GameTestTest.EnergyBlock
,GeodeFeature
,GlassBlock
,GlazedTerracottaBlock
,GlobalLootModifierSerializer
,GlobalLootModifiersTest.DungeonLootEnhancerModifier.Serializer
,GlobalLootModifiersTest.SilkTouchTestModifier.Serializer
,GlobalLootModifiersTest.SmelterEnchantment
,GlobalLootModifiersTest.SmeltingEnchantmentModifier.Serializer
,GlobalLootModifiersTest.WheatSeedsConverterModifier.Serializer
,GlowLichenBlock
,GlowLichenFeature
,GlowstoneFeature
,GrassBlock
,GravelBlock
,GravityAttributeTest.ItemGravityStick
,GrindstoneBlock
,GrowingPlantBlock
,GrowingPlantBodyBlock
,GrowingPlantHeadBlock
,HalfTransparentBlock
,HangingEntityItem
,HangingRootsBlock
,HayBlock
,HealthBoostMobEffect
,HiddenTooltipPartsTest.TestItem
,HideNeighborFaceTest.GlassSlab
,HoeItem
,HoneyBlock
,HoneyBottleItem
,HoneycombItem
,HopperBlock
,HorizontalDirectionalBlock
,HorseArmorItem
,HugeBrownMushroomFeature
,HugeFungusFeature
,HugeMushroomBlock
,HugeRedMushroomFeature
,IcebergFeature
,IceBlock
,IcePatchFeature
,IceSpikeFeature
,IglooFeature
,InfestedBlock
,InfestedRotatedPillarBlock
,InstantenousMobEffect
,IronBarsBlock
,Item
,ItemFluidContainer
,ItemFrameItem
,ItemNameBlockItem
,JigsawBlock
,JigsawFeature
,JukeboxBlock
,JunglePyramidFeature
,KelpBlock
,KelpFeature
,KelpPlantBlock
,KnockbackEnchantment
,KnowledgeBookItem
,LadderBlock
,LakeFeature
,LanternBlock
,LargeDripstoneFeature
,LavaCauldronBlock
,LavaFluid
,LavaFluid.Flowing
,LavaFluid.Source
,LayeredCauldronBlock
,LeadItem
,LeavesBlock
,LecternBlock
,LeverBlock
,LightBlock
,LightningRodBlock
,LingeringPotionItem
,LiquidBlock
,LoomBlock
,LootBonusEnchantment
,MagmaBlock
,MapItem
,MelonBlock
,MemoryModuleType
,MendingEnchantment
,MenuType
,MilkBucketItem
,MinecartItem
,MineshaftFeature
,MobBucketItem
,MobEffect
,MonsterRoomFeature
,MossBlock
,Motive
,MovingPistonBlock
,MultifaceBlock
,MultiShotEnchantment
,MushroomBlock
,MyceliumBlock
,NameTagItem
,NetherForestVegetationFeature
,NetherFortressFeature
,NetherFossilFeature
,NetherPortalBlock
,NetherrackBlock
,NetherSproutsBlock
,NetherWartBlock
,NetherWorldCarver
,NewFluidTest.FluidloggableBlock
,NoOpFeature
,NoteBlock
,NyliumBlock
,ObserverBlock
,OceanMonumentFeature
,OceanRuinFeature
,OreBlock
,OreFeature
,OxygenEnchantment
,ParticleType
,PickaxeItem
,PillagerOutpostFeature
,PipeBlock
,PistonBaseBlock
,PistonHeadBlock
,PlayerAttackKnockbackTest.KnockbackSwordItem
,PlayerHeadBlock
,PlayerHeadItem
,PlayerWallHeadBlock
,PointedDripstoneBlock
,PointedDripstoneFeature
,PoiType
,PotatoBlock
,Potion
,PotionItem
,PowderSnowBlock
,PowderSnowCauldronBlock
,PoweredBlock
,PoweredRailBlock
,PressurePlateBlock
,ProjectileWeaponItem
,ProtectionEnchantment
,PumpkinBlock
,QuickChargeEnchantment
,RailBlock
,RandomBooleanSelectorFeature
,RandomPatchFeature
,RandomSelectorFeature
,RangedAttribute
,RecipeBookTestRecipeSerializer
,RecordItem
,RedstoneLampBlock
,RedStoneOreBlock
,RedstoneSidedConnectivityTest.EastRedstoneBlock
,RedstoneTorchBlock
,RedstoneWallTorchBlock
,RedStoneWireBlock
,RepeaterBlock
,ReplaceBlobsFeature
,ReplaceBlockFeature
,RespawnAnchorBlock
,RodBlock
,RootedDirtBlock
,RootsBlock
,RootSystemFeature
,RotatedPillarBlock
,RuinedPortalFeature
,SaddleItem
,SandBlock
,SaplingBlock
,ScaffoldingBlock
,ScaffoldingBlockItem
,ScaffoldingTest.ScaffoldingMethodTestBlock
,ScatteredOreFeature
,Schedule
,SculkSensorBlock
,SeagrassBlock
,SeagrassFeature
,SeaPickleBlock
,SeaPickleFeature
,SensorType
,ShapedRecipe.Serializer
,ShapelessRecipe.Serializer
,ShearsItem
,ShieldItem
,ShipwreckFeature
,ShovelItem
,ShulkerBoxBlock
,SignBlock
,SignItem
,SimpleBlockFeature
,SimpleCookingSerializer
,SimpleFoiledItem
,SimpleParticleType
,SimpleRandomSelectorFeature
,SimpleRecipeSerializer
,SingleItemRecipe.Serializer
,SkullBlock
,SlabBlock
,SlimeBlock
,SmallDripleafBlock
,SmithingTableBlock
,SmokerBlock
,SnowAndFreezeFeature
,SnowballItem
,SnowLayerBlock
,SnowyDirtBlock
,SolidBucketItem
,SoulFireBlock
,SoulSandBlock
,SoulSpeedEnchantment
,SoundEvent
,SpawnEggItem
,SpawnerBlock
,SpectralArrowItem
,SpikeFeature
,SplashPotionItem
,SpongeBlock
,SporeBlossomBlock
,SpreadingSnowyDirtBlock
,SpringFeature
,SpyglassItem
,StainedGlassBlock
,StainedGlassPaneBlock
,StairBlock
,StandingAndWallBlockItem
,StandingSignBlock
,StatType
,StemBlock
,StemGrownBlock
,StoneButtonBlock
,StonecutterBlock
,StrongholdFeature
,StructureBlock
,StructureFeature
,StructureVoidBlock
,SugarCaneBlock
,SuspiciousStewItem
,SwamplandHutFeature
,SweepingEdgeEnchantment
,SweetBerryBushBlock
,SwordItem
,TallFlowerBlock
,TallGrassBlock
,TallSeagrassBlock
,TargetBlock
,ThornsEnchantment
,ThrowablePotionItem
,TieredItem
,TintedGlassBlock
,TippedArrowItem
,TntBlock
,TorchBlock
,TrapDoorBlock
,TrappedChestBlock
,TreeDecoratorType
,TreeFeature
,TridentChannelingEnchantment
,TridentImpalerEnchantment
,TridentItem
,TridentLoyaltyEnchantment
,TridentRiptideEnchantment
,TripWireBlock
,TripWireHookBlock
,TurtleEggBlock
,TwistingVinesBlock
,TwistingVinesFeature
,TwistingVinesPlantBlock
,UnderwaterMagmaFeature
,UntouchingEnchantment
,UpgradeRecipe.Serializer
,ValidRailShapeTest.RailSlopeBlock
,VanishingCurseEnchantment
,VegetationPatchFeature
,VillageFeature
,VillagerProfession
,VineBlock
,VinesFeature
,VoidStartPlatformFeature
,WallBannerBlock
,WallBlock
,WallSignBlock
,WallSkullBlock
,WallTorchBlock
,WaterFluid
,WaterFluid.Flowing
,WaterFluid.Source
,WaterlilyBlock
,WaterLilyBlockItem
,WaterloggedVegetationPatchFeature
,WaterWalkerEnchantment
,WaterWorkerEnchantment
,WeatheringCopperFullBlock
,WeatheringCopperSlabBlock
,WeatheringCopperStairBlock
,WebBlock
,WeepingVinesBlock
,WeepingVinesFeature
,WeepingVinesPlantBlock
,WeightedPressurePlateBlock
,WetSpongeBlock
,WitherRoseBlock
,WitherSkullBlock
,WitherWallSkullBlock
,WoodButtonBlock
,WoodlandMansionFeature
,WoolCarpetBlock
,WorldCarver
,WritableBookItem
,WrittenBookItem
public interface IForgeRegistryEntry<V>
-
Method Summary
Modifier and TypeMethodDescriptionA unique identifier for this entry, if this entry is registered already it will return it's official registry name.Determines the type for this entry, used to look up the correct registry in the global registries list as there can only be one registry per concrete class.Sets a unique name for this Item.
-
Method Details
-
setRegistryName
Sets a unique name for this Item. This should be used for uniquely identify the instance of the Item. This is the valid replacement for the atrocious 'getUnlocalizedName().substring(6)' stuff that everyone does. Unlocalized names have NOTHING to do with unique identifiers. As demonstrated by vanilla blocks and items. The supplied name will be prefixed with the currently active mod's modId. If the supplied name already has a prefix that is different, it will be used and a warning will be logged. If a name already exists, or this Item is already registered in a registry, then an IllegalStateException is thrown. Returns 'this' to allow for chaining.- Parameters:
name
- Unique registry name- Returns:
- This instance
-
getRegistryName
A unique identifier for this entry, if this entry is registered already it will return it's official registry name. Otherwise it will return the name set in setRegistryName(). If neither are valid null is returned.- Returns:
- Unique identifier or null.
-
getRegistryType
Determines the type for this entry, used to look up the correct registry in the global registries list as there can only be one registry per concrete class.- Returns:
- Root registry type.
-