This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---- Minecraft Crash Report ---- | |
// Hey, that tickles! Hehehe! | |
Time: 2020-08-21 11:55 | |
Description: Rendering Block Entity | |
java.lang.NullPointerException: Rendering Block Entity | |
at blusunrize.immersiveengineering.common.blocks.metal.FluidPipeTileEntity.onLoad(FluidPipeTileEntity.java:174) ~[?:?] {re:classloading} | |
at com.direwolf20.buildinggadgets.common.world.MockTileEntityRenderWorld.getTileEntity(MockTileEntityRenderWorld.java:37) ~[?:3.5.0-alpha] {re:classloading} | |
at com.direwolf20.buildinggadgets.client.renderer.EffectBlockTER.render(EffectBlockTER.java:82) ~[?:3.5.0-alpha] {re:classloading} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Class Name | Unmapped Name | Old Mapped Name | Mapped Name | |
-- | -- | -- | -- | |
AbstractBlock | func_215696_m | causesSuffocation | shouldBlockVision | |
AbstractBlock | func_203425_a | isIn | matchesBlock | |
IGuiEventListener | p_212927_1_ | xPos | mouseX | |
net.minecraft.entity.Entity | field_70128_L | removed | dead | |
net.minecraft.client.gui.FocusableGui | field_230699_a_ | focused | listener | |
net.minecraft.util.text.Style | func_240720_a_ | createStyleFromFormattings | mergeWithFormatting | |
net.minecraft.client.gui.widget.list.AbstractList | field_230667_a_ | children | entries | |
net.minecraft.block.FenceGateBlock | field_185539_B | AABB_COLLISION_BOX_ZAXIS | AABB_RENDER_BOX_XAXIS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This method comprises the logic of {@link CrossbowItem#hasAmmo(LivingEntity, ItemStack)} & {@link CrossbowItem#func_220023_a(LivingEntity, ItemStack, ItemStack, boolean, boolean)} | |
* Those two methods are being deprecated in favor of this hook method that in-lines the code. | |
* @param pair The provided Pair of Ammo and Ammo Consumer. | |
* @param shootable The shootable itemstack. | |
* @param shooter The shooter. | |
* @return returns a boolean if it succeeds in charging the crossbow. | |
*/ | |
public static boolean handleCrossbowCharging(Pair<ItemStack, Consumer<ItemStack>> pair, ItemStack shootable, LivingEntity shooter) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.minecraft.client.renderer; | |
import com.google.common.collect.ImmutableList; | |
import it.unimi.dsi.fastutil.Hash.Strategy; | |
import it.unimi.dsi.fastutil.objects.ObjectOpenCustomHashSet; | |
import java.util.List; | |
import java.util.Objects; | |
import java.util.Optional; | |
import java.util.OptionalDouble; | |
import javax.annotation.Nullable; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
field_220238_a SHAPE_FLOOR_NORTH_SOUTH_LEG_1 | |
field_220239_b SHAPE_FLOOR_NORTH_SOUTH_LEG_2 | |
field_220240_c SHAPE_FLOOR_NORTH_SOUTH_HOLDER_1 | |
field_220241_d SHAPE_FLOOR_NORTH_SOUTH_HOLDER_2 | |
field_220242_e SHAPE_FLOOR_NORTH_SOUTH_LEG_COMBINED | |
field_220243_f SHAPE_FLOOR_NORTH_SOUTH_HOLDER_COMBINED | |
field_220244_g SHAPE_FLOOR_NORTH_SOUTH_COMBINED | |
field_220245_h SHAPE_FLOOR_NORTH_SOUTH | |
field_220246_i SHAPE_FLOOR_EAST_WEST_LEG_1 | |
field_220247_j SHAPE_FLOOR_EAST_WEST_LEG_2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask | |
buildscript { | |
repositories { | |
maven { url = 'https://files.minecraftforge.net/maven' } | |
jcenter() | |
mavenCentral() | |
} | |
dependencies { | |
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.minecraft.world.gen; | |
import it.unimi.dsi.fastutil.ints.IntRBTreeSet; | |
import it.unimi.dsi.fastutil.ints.IntSortedSet; | |
import java.util.stream.IntStream; | |
import net.minecraft.util.SharedSeedRandom; | |
public class PerlinNoiseGenerator implements INoiseGenerator { | |
private final SimplexNoiseGenerator[] noiseLevels; | |
private final double field_227462_b_; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.minecraft.world.gen.feature.structure; | |
import com.google.common.collect.ImmutableList; | |
import com.mojang.datafixers.util.Pair; | |
import java.util.List; | |
import net.minecraft.nbt.CompoundNBT; | |
import net.minecraft.util.ResourceLocation; | |
import net.minecraft.util.Rotation; | |
import net.minecraft.util.SharedSeedRandom; | |
import net.minecraft.util.math.BlockPos; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Nullable | |
public static BlockState damage(BlockState state) { | |
if (net.minecraftforge.common.ForgeHooks.onAnvilDamage(state)) return state; | |
if (state.isIn(Blocks.ANVIL)) { | |
return Blocks.CHIPPED_ANVIL.getDefaultState().with(FACING, state.get(FACING)); | |
} else { | |
return state.isIn(Blocks.CHIPPED_ANVIL) ? Blocks.DAMAGED_ANVIL.getDefaultState().with(FACING, state.get(FACING)) : null; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.minecraftforge.event.anvil; | |
import net.minecraft.block.BlockState; | |
import net.minecraftforge.eventbus.api.Cancelable; | |
import net.minecraftforge.eventbus.api.Event; | |
import javax.annotation.Nonnull; | |
import javax.annotation.Nullable; | |
@Cancelable |