Update mappings to 09/21 snapshots.

Conflict with getMatrix in ITransformation, so renamed to getMatrixVec.
This commit is contained in:
LexManos committed 2018-09-22 03:40:22 -07:00
1 parent 5ed03945a0
commit 94e1a8e0a4
210 files changed
+1052 -978

No files matched your search

@@ -57,4 +57,4 @@ public class DifficultyChangeEvent extends net.minecraftforge.eventbus.api.Event
{
return oldDifficulty;
}
}
}
@@ -384,7 +384,7 @@ public class ForgeEventFactory
if (event.getResult() == Result.ALLOW)
{
if (player.capabilities.isCreativeMode)
if (player.abilities.isCreativeMode)
return new ActionResult<ItemStack>(EnumActionResult.SUCCESS, stack);
stack.shrink(1);
@@ -499,7 +499,7 @@ public class ForgeEventFactory
{
Entity e = itr.next();
double dist = e.getDistance(p.xCoord, p.yCoord, p.zCoord) / diameter;
if (e.func_180427_aV() || dist > 1.0F) itr.remove();
if (e.isImmuneToExplosions() || dist > 1.0F) itr.remove();
}
*/
MinecraftForge.EVENT_BUS.post(new ExplosionEvent.Detonate(world, explosion, list));
@@ -51,4 +51,4 @@ public class EntityTravelToDimensionEvent extends EntityEvent
{
return dimension;
}
}
}
@@ -50,4 +50,4 @@ public class ItemEvent extends EntityEvent
{
return entityItem;
}
}
}
@@ -55,4 +55,4 @@ public class ItemExpireEvent extends ItemEvent
{
this.extraLife = extraLife;
}
}
}
@@ -54,4 +54,4 @@ public class ItemTossEvent extends ItemEvent
{
return player;
}
}
}
@@ -58,4 +58,4 @@ public class LivingHealEvent extends LivingEvent
{
this.amount = amount;
}
}
}
@@ -92,4 +92,4 @@ public class LivingKnockBackEvent extends LivingEvent
public void setRatioX(double ratioX) {this.ratioX = ratioX;}
public void setRatioZ(double ratioZ) {this.ratioZ = ratioZ;}
}
}
@@ -27,6 +27,8 @@ import net.minecraftforge.eventbus.api.Event;
import net.minecraft.entity.EntityLiving;
import net.minecraft.world.World;
import net.minecraftforge.eventbus.api.Event.HasResult;
/**
* LivingSpawnEvent is fired for any events associated with Living Entities spawn status. <br>
* If a method utilizes this {@link Event} as its parameter, the method will
@@ -75,4 +75,4 @@ public class PotionColorCalculationEvent extends LivingEvent
{
return Collections.unmodifiableCollection(effectList);
}
}
}
@@ -29,6 +29,8 @@ import net.minecraftforge.event.entity.EntityEvent;
import net.minecraftforge.eventbus.api.Cancelable;
import net.minecraftforge.eventbus.api.Event;
import net.minecraftforge.eventbus.api.Event.HasResult;
/**
* ZombieEvent is fired whenever a zombie is spawned for aid.
* If a method utilizes this {@link Event} as its parameter, the method will
@@ -97,4 +97,4 @@ public class CriticalHitEvent extends PlayerEvent
{
return vanillaCritical;
}
}
}
@@ -57,4 +57,4 @@ public class PlayerDropsEvent extends LivingDropsEvent
{
return entityPlayer;
}
}
}
@@ -39,6 +39,8 @@ import javax.annotation.Nullable;
import static net.minecraftforge.eventbus.api.Event.Result.DEFAULT;
import static net.minecraftforge.eventbus.api.Event.Result.DENY;
import net.minecraftforge.eventbus.api.Event.Result;
/**
* PlayerInteractEvent is fired when a player interacts in some way.
* All subclasses are fired on {@link MinecraftForge#EVENT_BUS}.
@@ -24,6 +24,8 @@ import net.minecraftforge.eventbus.api.Event;
import net.minecraft.block.state.IBlockState;
import net.minecraft.world.biome.Biome;
import net.minecraftforge.eventbus.api.Event.HasResult;
/**
* BiomeEvent is fired whenever an event involving biomes occurs.<br>
* If a method utilizes this {@link Event} as its parameter, the method will
@@ -24,6 +24,8 @@ import net.minecraft.world.chunk.ChunkPrimer;
import net.minecraft.world.gen.IChunkGenSettings;
import net.minecraft.world.gen.IChunkGenerator;
import net.minecraftforge.eventbus.api.Event.HasResult;
public class ChunkGeneratorEvent extends net.minecraftforge.eventbus.api.Event
{
private final IChunkGenerator<? extends IChunkGenSettings> gen;
@@ -132,4 +132,4 @@ public class InitNoiseGensEvent<T extends InitNoiseGensEvent.Context> extends Wo
public void getPerlin2 (NoiseGeneratorOctaves value) { this.perlin2 = value; }
public void getPerlin3 (NoiseGeneratorOctaves value) { this.perlin3 = value; }
}
}
}
@@ -21,6 +21,10 @@ package net.minecraftforge.event.terraingen;
import java.util.Random;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import net.minecraftforge.eventbus.api.Event;
//import net.minecraft.world.biome.BiomeDecorator;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.eventbus.api.Cancelable;
@@ -27,6 +27,8 @@ import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.eventbus.api.Cancelable;
import net.minecraftforge.eventbus.api.Event;
import net.minecraftforge.eventbus.api.Event.HasResult;
/**
* PopulateChunkEvent is fired when an event involving chunk terrain feature population occurs.<br>
* If a method utilizes this {@link net.minecraftforge.eventbus.api.Event} as its parameter, the method will
@@ -27,6 +27,9 @@ import net.minecraft.world.World;
import net.minecraft.world.gen.IChunkGenerator;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.event.terraingen.DecorateBiomeEvent.Decorate;
import net.minecraftforge.event.terraingen.PopulateChunkEvent.Populate;
import net.minecraftforge.eventbus.api.Event.Result;
//import net.minecraftforge.event.terraingen.OreGenEvent.GenerateMinable;
import net.minecraftforge.event.terraingen.PopulateChunkEvent.Populate;
import net.minecraftforge.eventbus.api.Event.Result;
@@ -45,6 +45,8 @@ import com.google.common.collect.ImmutableList;
import javax.annotation.Nonnull;
import net.minecraftforge.eventbus.api.Event.HasResult;
public class BlockEvent extends Event
{
private static final boolean DEBUG = Boolean.parseBoolean(System.getProperty("forge.debugBlockEvent", "false"));
@@ -103,4 +103,4 @@ public class ExplosionEvent extends Event
return entityList;
}
}
}
}
@@ -204,4 +204,4 @@ public class NoteBlockEvent extends BlockEvent
}
}
}
}