Skip to content

Instantly share code, notes, and snippets.

@SizableShrimp
Last active Jul 11, 2022
Embed
What would you like to do?
Renames for Forge 1.19 based on the meta rename issue MinecraftForge/MinecraftForge#8165
tsrg2 left right
# Forge extensions
net/minecraftforge/common/extensions/IForgeItem net/minecraftforge/common/extensions/IForgeItem
getContainerItem (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; getCraftingRemainingItem # Javadocs also need fixing
hasContainerItem (Lnet/minecraft/world/item/ItemStack;)Z hasCraftingRemainingItem # Javadocs also need fixing
getItemStackLimit (Lnet/minecraft/world/item/ItemStack;)I getMaxStackSize # Javadocs also need fixing
getItemEnchantability (Lnet/minecraft/world/item/ItemStack;)I getEnchantmentValue # Javadocs also need fixing
# vetoed - isDamageable (Lnet/minecraft/world/item/ItemStack;)Z canBeDepleted # Javadocs need fixing; this rename seems shitty tho and I would vote against it
net/minecraftforge/common/extensions/IForgeItemStack net/minecraftforge/common/extensions/IForgeItemStack
getContainerItem ()Lnet/minecraft/world/item/ItemStack; getCraftingRemainingItem # Javadocs also need fixing
hasContainerItem ()Z hasCraftingRemainingItem # Javadocs also need fixing
getItemEnchantability ()I getEnchantmentValue # Javadocs also need fixing
net/minecraftforge/common/extensions/IForgeBlockEntity net/minecraftforge/common/extensions/IForgeBlockEntity # TODO: Rename these extension interfaces to end in "Extension"?
getTileData ()Lnet/minecraft/nbt/CompoundTag; getPersistentData # Javadocs also need updating
# Forge registries
net/minecraftforge/registries/ForgeRegistries net/minecraftforge/registries/ForgeRegistries
CONTAINERS MENU_TYPES
PROFESSIONS VILLAGER_PROFESSIONS # The key in Keys already matches
ENTITIES ENTITY_TYPES # The key in Keys already matches
BLOCK_ENTITIES BLOCK_ENTITY_TYPES # The key in Keys already matches
DEFERRED_DATA_SERIALIZERS DEFERRED_ENTITY_DATA_SERIALIZERS
DATA_SERIALIZERS ENTITY_DATA_SERIALIZERS
DEFERRED_LOOT_MODIFIER_SERIALIZERS DEFERRED_GLOBAL_LOOT_MODIFIER_SERIALIZERS
LOOT_MODIFIER_SERIALIZERS GLOBAL_LOOT_MODIFIER_SERIALIZERS
net/minecraftforge/registries/ForgeRegistries$Keys net/minecraftforge/registries/ForgeRegistries$Keys
CONTAINER_TYPES MENU_TYPES
DATA_SERIALIZERS ENTITY_DATA_SERIALIZERS
LOOT_MODIFIER_SERIALIZERS GLOBAL_LOOT_MODIFIER_SERIALIZERS
# Misc
net/minecraftforge/event/TagsUpdatedEvent net/minecraftforge/event/TagsUpdatedEvent
registries registryAccess
getTagManager ()Lnet/minecraft/core/RegistryAccess; getRegistryAccess # Javadocs also need fixing
net/minecraftforge/event/RegisterCommandsEvent net/minecraftforge/event/RegisterCommandsEvent
getEnvironment ()Lnet/minecraft/commands/Commands$CommandSelection; getCommandSelection # Javadocs also need fixing
net/minecraftforge/client/ConfigGuiHandler net/minecraftforge/client/ConfigScreenHandler
getGuiFactoryFor (Lnet/minecraftforge/forgespi/language/IModInfo;)Ljava/util/Optional; getScreenFactoryFor
static
net/minecraftforge/client/ConfigGuiHandler$ConfigGuiFactory net/minecraftforge/client/ConfigScreenHandler$ConfigScreenFactory
net/minecraftforge/network/NetworkHooks net/minecraftforge/network/NetworkHooks
openGui (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/MenuProvider;)V openScreen # Javadocs also need fixing
static
openGui (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/MenuProvider;Lnet/minecraft/core/BlockPos;)V openScreen # Javadocs also need fixing
static
openGui (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/MenuProvider;Ljava/util/function/Consumer;)V openScreen # Javadocs also need fixing
static
# net/minecraftforge/items/wrapper/SidedInvWrapper net/minecraftforge/items/wrapper/WorldlyInvWrapper - vetoed
net/minecraftforge/event/entity/item/ItemEvent net/minecraftforge/event/entity/item/ItemEvent # Whole class needs javadocs updated
entityItem itemEntity
getEntityItem ()Lnet/minecraft/world/entity/item/ItemEntity; getEntity
net/minecraftforge/event/entity/living/LivingEvent net/minecraftforge/event/entity/living/LivingEvent # Could do with some javadoc touchups
entityLiving livingEntity
getEntityLiving ()Lnet/minecraft/world/entity/LivingEntity; getEntity
net/minecraftforge/event/entity/player/PlayerEvent net/minecraftforge/event/entity/player/PlayerEvent
entityPlayer player
getPlayer ()Lnet/minecraft/world/entity/player/Player; getEntity
net/minecraftforge/event/entity/player/PlayerInteractEvent net/minecraftforge/event/entity/player/PlayerInteractEvent
getWorld ()Lnet/minecraft/world/level/Level; getLevel
net/minecraftforge/event/entity/living/ZombieEvent net/minecraftforge/event/entity/living/ZombieEvent
getSummoner ()Lnet/minecraft/world/entity/monster/Zombie; getEntity
net/minecraftforge/event/entity/living/LivingEvent$LivingUpdateEvent net/minecraftforge/event/entity/living/LivingEvent$LivingTickEvent # Javadocs probably best updated if renamed
net/minecraftforge/common/crafting/NBTIngredient net/minecraftforge/common/crafting/StrictNBTIngredient
net/minecraftforge/common/crafting/NBTIngredient$Serializer net/minecraftforge/common/crafting/StrictNBTIngredient$Serializer
net/minecraftforge/common/ForgeHooks net/minecraftforge/common/ForgeHooks
getContainerItem (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; getCraftingRemainingItem
net/minecraftforge/event/world/SaplingGrowTreeEvent net/minecraftforge/event/level/SaplingGrowTreeEvent
getRand ()Lnet/minecraft/util/RandomSource; getRandomSource
# world -> level
net/minecraftforge/common/util/WorldCapabilityData net/minecraftforge/common/util/LevelCapabilityData
net/minecraftforge/event/TickEvent$WorldTickEvent net/minecraftforge/event/TickEvent$LevelTickEvent
world level
<init> (Lnet/minecraftforge/fml/LogicalSide;Lnet/minecraftforge/event/TickEvent$Phase;Lnet/minecraft/world/level/Level;Ljava/util/function/BooleanSupplier;)V <init>
2 world level
net/minecraftforge/event/TickEvent$Type net/minecraftforge/event/TickEvent$Type
WORLD LEVEL
net/minecraftforge/event/enchanting/EnchantmentLevelSetEvent net/minecraftforge/event/enchanting/EnchantmentLevelSetEvent # Javadocs also need fixing
world level
level enchantLevel
<init> (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;IILnet/minecraft/world/item/ItemStack;I)V <init>
0 world level
5 level enchantLevel
getWorld ()Lnet/minecraft/world/level/Level; getLevel # Javadocs also need fixing
getLevel ()I getEnchantLevel
setLevel (I)V setEnchantLevel
net/minecraftforge/event/entity/living/LivingSpawnEvent net/minecraftforge/event/entity/living/LivingSpawnEvent # Javadocs also need fixing
world level
<init> (Lnet/minecraft/world/entity/Mob;Lnet/minecraft/world/level/LevelAccessor;DDD)V <init>
1 world level
getWorld ()Lnet/minecraft/world/level/LevelAccessor; getLevel
net/minecraftforge/event/entity/living/LivingSpawnEvent$CheckSpawn net/minecraftforge/event/entity/living/LivingSpawnEvent$CheckSpawn
<init> (Lnet/minecraft/world/entity/Mob;Lnet/minecraft/world/level/LevelAccessor;DDDLnet/minecraft/world/level/BaseSpawner;Lnet/minecraft/world/entity/MobSpawnType;)V <init>
1 world level
net/minecraftforge/event/entity/living/LivingSpawnEvent$SpecialSpawn net/minecraftforge/event/entity/living/LivingSpawnEvent$SpecialSpawn
<init> (Lnet/minecraft/world/entity/Mob;Lnet/minecraft/world/level/LevelAccessor;DDDLnet/minecraft/world/level/BaseSpawner;Lnet/minecraft/world/entity/MobSpawnType;)V <init>
1 world level
net/minecraftforge/event/entity/player/AnvilRepairEvent net/minecraftforge/event/entity/player/AnvilRepairEvent
getItemResult ()Lnet/minecraft/world/item/ItemStack; getOutput # to match AnvilUpdateEvent
getItemInput ()Lnet/minecraft/world/item/ItemStack; getLeft # to match AnvilUpdateEvent
getIngredientInput ()Lnet/minecraft/world/item/ItemStack; getRight # to match AnvilUpdateEvent
net/minecraftforge/event/entity/player/ArrowLooseEvent net/minecraftforge/event/entity/player/ArrowLooseEvent
world level
<init> (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;IZ)V <init>
2 world level
getWorld ()Lnet/minecraft/world/level/Level; getLevel
net/minecraftforge/event/entity/player/ArrowNockEvent net/minecraftforge/event/entity/player/ArrowNockEvent
world level
<init> (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/level/Level;Z)V <init>
3 world level
getWorld ()Lnet/minecraft/world/level/Level; getLevel
net/minecraftforge/event/entity/player/BonemealEvent net/minecraftforge/event/entity/player/BonemealEvent
world level
<init> (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/item/ItemStack;)V <init>
1 world level
getWorld ()Lnet/minecraft/world/level/Level; getLevel
net/minecraftforge/event/entity/player/FillBucketEvent net/minecraftforge/event/entity/player/FillBucketEvent
world level
<init> (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/phys/HitResult;)V <init>
2 world level
getWorld ()Lnet/minecraft/world/level/Level; getLevel
net/minecraftforge/event/entity/player/PlayerSetSpawnEvent net/minecraftforge/event/entity/player/PlayerSetSpawnEvent
spawnWorld spawnLevel
<init> (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/core/BlockPos;Z)V <init>
1 spawnWorld spawnLevel
getSpawnWorld ()Lnet/minecraft/resources/ResourceKey; getSpawnLevel
net/minecraftforge/event/entity/player/PlayerWakeUpEvent net/minecraftforge/event/entity/player/PlayerWakeUpEvent
updateWorld updateLevel
updateWorld ()Z updateLevel
net/minecraftforge/event/entity/EntityJoinWorldEvent net/minecraftforge/event/entity/EntityJoinLevelEvent # Javadocs need updating
world level
<init> (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/level/Level;)V <init>
1 world level
<init> (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/level/Level;Z)V <init>
1 world level
getWorld ()Lnet/minecraft/world/level/Level; getLevel
net/minecraftforge/event/entity/EntityLeaveWorldEvent net/minecraftforge/event/entity/EntityLeaveLevelEvent # Javadocs need updating
world level
<init> (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/level/Level;)V <init>
1 world level
getWorld ()Lnet/minecraft/world/level/Level; getLevel
net/minecraftforge/event/entity/EntityMountEvent net/minecraftforge/event/entity/EntityMountEvent
worldObj level
<init> (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/level/Level;Z)V <init>
2 worldObj level
getWorldObj ()Lnet/minecraft/world/level/Level; getLevel
net/minecraftforge/event/village/VillageSiegeEvent net/minecraftforge/event/village/VillageSiegeEvent
world level
<init> (Lnet/minecraft/world/entity/ai/village/VillageSiege;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/phys/Vec3;)V <init>
1 world level
getWorld ()Lnet/minecraft/world/level/Level; getLevel
net/minecraftforge/event/world/BlockEvent net/minecraftforge/event/level/BlockEvent
world level
<init> (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V <init>
0 world level
getWorld ()Lnet/minecraft/world/level/LevelAccessor; getLevel
net/minecraftforge/event/world/BlockEvent$CreateFluidSourceEvent net/minecraftforge/event/level/BlockEvent$CreateFluidSourceEvent
world level
<init> (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V <init>
0 world level
getWorld ()Lnet/minecraft/world/level/LevelReader; getLevel
net/minecraftforge/event/world/ChunkWatchEvent net/minecraftforge/event/level/ChunkWatchEvent # Javadocs also need updating
world level
<init> (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/server/level/ServerLevel;)V <init>
2 world level
getWorld ()Lnet/minecraft/server/level/ServerLevel; getLevel
net/minecraftforge/event/world/ChunkWatchEvent$Watch net/minecraftforge/event/level/ChunkWatchEvent$Watch # Javadocs also need updating
<init> (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/server/level/ServerLevel;)V <init>
2 world level
net/minecraftforge/event/world/ChunkWatchEvent$UnWatch net/minecraftforge/event/level/ChunkWatchEvent$UnWatch # Javadocs also need updating
<init> (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/server/level/ServerLevel;)V <init>
2 world level
net/minecraftforge/event/world/ExplosionEvent net/minecraftforge/event/level/ExplosionEvent
world level
<init> (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/Explosion;)V <init>
0 world level
getWorld ()Lnet/minecraft/world/level/Level; getLevel
net/minecraftforge/event/world/ExplosionEvent$Start net/minecraftforge/event/level/ExplosionEvent$Start
<init> (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/Explosion;)V <init>
0 world level
net/minecraftforge/event/world/ExplosionEvent$Detonate net/minecraftforge/event/level/ExplosionEvent$Detonate
<init> (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/Explosion;Ljava/util/List;)V <init>
0 world level
net/minecraftforge/event/entity/living/ZombieEvent$SummonAidEvent net/minecraftforge/event/entity/living/ZombieEvent$SummonAidEvent
getWorld ()Lnet/minecraft/world/level/Level; getLevel
# world/WorldEvent -> level/LevelEvent
net/minecraftforge/event/world/WorldEvent net/minecraftforge/event/level/LevelEvent
world level
<init> (Lnet/minecraft/world/level/LevelAccessor;)V <init>
0 world level
getWorld ()Lnet/minecraft/world/level/LevelAccessor; getLevel
net/minecraftforge/event/world/WorldEvent$Load net/minecraftforge/event/level/LevelEvent$Load
net/minecraftforge/event/world/WorldEvent$Unload net/minecraftforge/event/level/LevelEvent$Unload
net/minecraftforge/event/world/WorldEvent$Save net/minecraftforge/event/level/LevelEvent$Save
net/minecraftforge/event/world/WorldEvent$CreateSpawnPosition net/minecraftforge/event/level/LevelEvent$CreateSpawnPosition
net/minecraftforge/event/world/ChunkDataEvent net/minecraftforge/event/level/ChunkDataEvent
net/minecraftforge/event/world/ChunkDataEvent$Load net/minecraftforge/event/level/ChunkDataEvent$Load
net/minecraftforge/event/world/ChunkDataEvent$Save net/minecraftforge/event/level/ChunkDataEvent$Save
net/minecraftforge/event/world/ChunkEvent net/minecraftforge/event/level/ChunkEvent
net/minecraftforge/event/world/ChunkEvent$Load net/minecraftforge/event/level/ChunkEvent$Load
net/minecraftforge/event/world/ChunkEvent$Unload net/minecraftforge/event/level/ChunkEvent$Unload
net/minecraftforge/event/world/NoteBlockEvent net/minecraftforge/event/level/NoteBlockEvent
net/minecraftforge/event/world/NoteBlockEvent$Play net/minecraftforge/event/level/NoteBlockEvent$Play
net/minecraftforge/event/world/NoteBlockEvent$Change net/minecraftforge/event/level/NoteBlockEvent$Change
net/minecraftforge/event/world/NoteBlockEvent$Note net/minecraftforge/event/level/NoteBlockEvent$Note
net/minecraftforge/event/world/NoteBlockEvent$Octave net/minecraftforge/event/level/NoteBlockEvent$Octave
net/minecraftforge/event/world/PistonEvent net/minecraftforge/event/level/PistonEvent
net/minecraftforge/event/world/PistonEvent$Pre net/minecraftforge/event/level/PistonEvent$Pre
net/minecraftforge/event/world/PistonEvent$Post net/minecraftforge/event/level/PistonEvent$Post
net/minecraftforge/event/world/PistonEvent$PistonMoveType net/minecraftforge/event/level/PistonEvent$PistonMoveType
net/minecraftforge/event/world/SaplingGrowTreeEvent net/minecraftforge/event/level/SaplingGrowTreeEvent
net/minecraftforge/event/world/SleepFinishedTimeEvent net/minecraftforge/event/level/SleepFinishedTimeEvent
net/minecraftforge/fluids/capability/TileFluidHandler net/minecraftforge/fluids/capability/FluidHandlerBlockEntity
net/minecraftforge/forge/event/lifecycle/GatherDataEvent net/minecraftforge/data/event/GatherDataEvent
net/minecraftforge/forge/event/lifecycle/GatherDataEvent$DataGeneratorConfig net/minecraftforge/data/event/GatherDataEvent$DataGeneratorConfig
net/minecraftforge/event/world/BlockEvent$BreakEvent net/minecraftforge/event/level/BlockEvent$BreakEvent
net/minecraftforge/event/world/BlockEvent$EntityPlaceEvent net/minecraftforge/event/level/BlockEvent$EntityPlaceEvent
net/minecraftforge/event/world/BlockEvent$EntityMultiPlaceEvent net/minecraftforge/event/level/BlockEvent$EntityMultiPlaceEvent
net/minecraftforge/event/world/BlockEvent$NeighborNotifyEvent net/minecraftforge/event/level/BlockEvent$NeighborNotifyEvent
net/minecraftforge/event/world/BlockEvent$FluidPlaceBlockEvent net/minecraftforge/event/level/BlockEvent$FluidPlaceBlockEvent
net/minecraftforge/event/world/BlockEvent$CropGrowEvent net/minecraftforge/event/level/BlockEvent$CropGrowEvent
net/minecraftforge/event/world/BlockEvent$CropGrowEvent$Pre net/minecraftforge/event/level/BlockEvent$CropGrowEvent$Pre
net/minecraftforge/event/world/BlockEvent$CropGrowEvent$Post net/minecraftforge/event/level/BlockEvent$CropGrowEvent$Post
net/minecraftforge/event/world/BlockEvent$FarmlandTrampleEvent net/minecraftforge/event/level/BlockEvent$FarmlandTrampleEvent
net/minecraftforge/event/world/BlockEvent$PortalSpawnEvent net/minecraftforge/event/level/BlockEvent$PortalSpawnEvent
net/minecraftforge/event/world/BlockEvent$BlockToolModificationEvent net/minecraftforge/event/level/BlockEvent$BlockToolModificationEvent
# PotionEvent -> MobEffectEvent
# All of these classes need javadoc updates
net/minecraftforge/event/entity/living/PotionEvent net/minecraftforge/event/entity/living/MobEffectEvent
effect effectInstance
<init> (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/effect/MobEffect;)V <init>
1 effect effectInstance
getPotionEffect ()Lnet/minecraft/world/effect/MobEffectInstance; getEffectInstance
net/minecraftforge/event/entity/living/PotionEvent$PotionRemoveEvent net/minecraftforge/event/entity/living/MobEffectEvent$Remove
potion effect
<init> (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/effect/MobEffect;)V <init>
1 potion effect
getPotion ()Lnet/minecraft/world/effect/MobEffect; getEffect
net/minecraftforge/event/entity/living/PotionEvent$PotionApplicableEvent net/minecraftforge/event/entity/living/MobEffectEvent$Applicable
<init> (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/effect/MobEffect;)V <init>
1 effect effectInstance
net/minecraftforge/event/entity/living/PotionEvent$PotionAddedEvent net/minecraftforge/event/entity/living/MobEffectEvent$Added
oldEffect oldEffectInstance
<init> (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/effect/MobEffectInstance;Lnet/minecraft/world/effect/MobEffectInstance;Lnet/minecraft/world/entity/Entity;)V <init>
1 oldEffect oldEffectInstance
2 newEffect newEffectInstance
getOldPotionEffect ()Lnet/minecraft/world/effect/MobEffectInstance; getOldEffectInstance
getPotionSource ()Lnet/minecraft/world/entity/Entity; getEffectSource
net/minecraftforge/event/entity/living/PotionEvent$PotionExpiryEvent net/minecraftforge/event/entity/living/MobEffectEvent$Expired
<init> (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/effect/MobEffect;)V <init>
1 effect effectInstance
# ResourcePack -> PathResources
net/minecraftforge/resource/PathResourcePack net/minecraftforge/resource/PathPackResources
net/minecraftforge/resource/DelegatingResourcePack net/minecraftforge/resource/DelegatingPackResources
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment