public class ObfuscationHelpers
extends java.lang.Object
| Constructor and Description |
|---|
ObfuscationHelpers() |
| Modifier and Type | Method and Description |
|---|---|
static net.minecraft.util.SoundEvent |
getAmbientSound(net.minecraft.entity.EntityLiving entity)
Call the protected getter 'getAmbientSound'
EntityLiving. |
static java.util.Map<java.lang.Class<net.minecraft.entity.Entity>,java.lang.Integer> |
getClassToID()
Get the private 'classToIDMapping' field from
EntityList. |
static net.minecraft.util.SoundEvent |
getDeathSound(net.minecraft.entity.EntityLivingBase entity)
Call the protected getter 'getDeathSound'
EntityLivingBase. |
static net.minecraft.util.ResourceLocation |
getLootTable(net.minecraft.entity.EntityLiving entity)
Get the private 'dead' field from
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 |
setDead(net.minecraft.entity.EntityLivingBase entity,
boolean dead)
Get the private 'dead' field from
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 net.minecraft.util.SoundEvent getDeathSound(net.minecraft.entity.EntityLivingBase entity)
EntityLivingBase.entity - The entity instance.public static net.minecraft.util.SoundEvent getAmbientSound(net.minecraft.entity.EntityLiving entity)
EntityLiving.entity - The entity instance.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 net.minecraft.util.ResourceLocation getLootTable(net.minecraft.entity.EntityLiving entity)
EntityLiving.entity - The entity instance.public static void setDead(net.minecraft.entity.EntityLivingBase entity,
boolean dead)
EntityLivingBase.entity - The entity instance.dead - The dead value to set.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.