public class ObfuscationHelpers
extends java.lang.Object
| Constructor and Description |
|---|
ObfuscationHelpers() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<java.lang.Class<net.minecraft.entity.Entity>,java.lang.Integer> |
getClassToID()
Get the private 'classToIDMapping' field from
EntityList. |
static java.lang.String |
getDeathSound(net.minecraft.entity.EntityLivingBase entity)
Call the protected getter 'getDeathSound'
EntityLivingBase. |
static net.minecraft.item.ItemStack |
getItemInUse(net.minecraft.entity.player.EntityPlayer player)
Get the private 'itemInUse' field from
EntityPlayer. |
static int |
getItemInUseCount(net.minecraft.entity.player.EntityPlayer player)
Set the private 'itemInUseCount' field from
EntityPlayer. |
static java.lang.String |
getLivingSound(net.minecraft.entity.EntityLiving entity)
Call the protected getter 'getLivingSound'
EntityLiving. |
static net.minecraft.util.ResourceLocation |
getParticleTexture()
Get the private 'particleTextures' field from
EffectRenderer. |
static boolean |
isPotionBadEffect(net.minecraft.potion.Potion potion)
Get the private 'isBadEffect' field from
Potion. |
static boolean |
isRainingEnabled(net.minecraft.world.biome.BiomeGenBase biome)
Get the private 'enableRain' field from
BiomeGenBase. |
static void |
onChangedPotionEffect(net.minecraft.entity.EntityLivingBase entity,
net.minecraft.potion.PotionEffect potionEffect,
boolean reapplyAttributes)
Call the protected method 'onChangedPotionEffect'
EntityLivingBase. |
static void |
setPotionEffectDuration(net.minecraft.potion.PotionEffect potionEffect,
int duration)
Set the private 'duration' field from
PotionEffect. |
static void |
setPotionTypesArray(net.minecraft.potion.Potion[] potionTypes)
Set the private static final 'potionTypes' field from @link{net.minecraft.potion.Potion}
|
static void |
setRecentlyHit(net.minecraft.entity.EntityLivingBase entity,
int recentlyHit)
Set the private 'recentlyHit' field from
EntityLivingBase. |
static void |
setTitlePanoramaPaths(net.minecraft.util.ResourceLocation[] titlePanoramaPaths)
Set the private static 'titlePanoramaPaths' field from @link{net.minecraft.client.gui.GuiMainMenu}
|
public static net.minecraft.util.ResourceLocation getParticleTexture()
EffectRenderer.public static void setRecentlyHit(net.minecraft.entity.EntityLivingBase entity,
int recentlyHit)
EntityLivingBase.entity - The entity instance.recentlyHit - The recently hit value to set.public static java.lang.String getDeathSound(net.minecraft.entity.EntityLivingBase entity)
EntityLivingBase.entity - The entity instance.public static java.lang.String getLivingSound(net.minecraft.entity.EntityLiving entity)
EntityLiving.entity - The entity instance.public static int getItemInUseCount(net.minecraft.entity.player.EntityPlayer player)
EntityPlayer.player - The player.public static net.minecraft.item.ItemStack getItemInUse(net.minecraft.entity.player.EntityPlayer player)
EntityPlayer.player - The player.public static void setTitlePanoramaPaths(net.minecraft.util.ResourceLocation[] titlePanoramaPaths)
titlePanoramaPaths - The panorama path.public static void setPotionEffectDuration(net.minecraft.potion.PotionEffect potionEffect,
int duration)
PotionEffect.potionEffect - The potionEffect instance.duration - The duration value to set.public static void onChangedPotionEffect(net.minecraft.entity.EntityLivingBase entity,
net.minecraft.potion.PotionEffect potionEffect,
boolean reapplyAttributes)
EntityLivingBase.entity - The entity instance.potionEffect - The potion effect.reapplyAttributes - If the datawatcher attributes need to be updated.public static java.util.Map<java.lang.Class<net.minecraft.entity.Entity>,java.lang.Integer> getClassToID()
EntityList.public static boolean isPotionBadEffect(net.minecraft.potion.Potion potion)
Potion.potion - The potion instance.public static void setPotionTypesArray(net.minecraft.potion.Potion[] potionTypes)
potionTypes - The panorama path.public static boolean isRainingEnabled(net.minecraft.world.biome.BiomeGenBase biome)
BiomeGenBase.biome - The biome instance.