Résolu Plusieurs questions/problèmes
-
Dans ton event, vérifie que le code est exécuté côté serveur
-
J’utilise l’event LivingEvent, logiquement ça serait uniquement côté serveur (à moins que je me trompe ? ) mais je peux quand même mettre un sideOnly au cas où
Sinon, je viens de penser, pour le code : ```java
World world = Minecraft.getMinecraft().theWorld; -
Tu n’as peut être pas de World dans l’event mais tu as une entité et grâce à elle tu peux accéder au World et ensuite faire if(!world.isRemote)
-
En effet, la classe Minecraft.getMinecraft() n’est que client.
-
Salut
Désolé pour le temps de la réponse
Il spawn bien côté serveur maintenant, tout marche bien côté mob. Le seul problème, c’est qu’il ne bouge pas les jambes quand il marche. Mais je sais à peu près où c’est.
MerciPar contre, vous savez comment faire pour mettre de l’orage (donc la foudre + le ciel foncé) mais sans qu’il ne pleuvent ? Parce que à chaque fois que y’a de l’orage il pleut aussi. J’avais pensé à regarder du côté de cheval squelette (et surtout de son spawn) mais le problème c’est qu’il ne spawn pas en 1.8.
Avez vous une idée ?Merci d’avance
PS : Voilà le code pour le mob si d’éventuelles personnes en ont besoin :
@SubscribeEvent public void apocalypseMobReplace(LivingEvent event) { World world = event.entity.worldObj; if(!world.isRemote) { if(ThisisHalloween.apocalypse) { if(event.entity instanceof EntityWolf) { EntityWerewolf werewolf = new EntityWerewolf(world); double x = event.entity.posX; double y = event.entity.posY; double z = event.entity.posZ; float rotateX = event.entity.rotationPitch; float rotateY = event.entity.rotationYaw; event.entity.setDead(); werewolf.setPositionAndRotation(x, y, z, rotateX, rotateY); world.spawnEntityInWorld(werewolf); } } else { // Apocalypse == disable == false Random rand = new Random(); int n = rand.nextInt(3); switch(n) { case 1 : if(event.entity instanceof EntityWerewolf) { event.entity.setDead(); break; } case 2 : if(event.entity instanceof EntityWerewolf) { EntityWolf wolf = new EntityWolf(world); double x = event.entity.posX; double y = event.entity.posY; double z = event.entity.posZ; float rotateX = event.entity.rotationPitch; float rotateY = event.entity.rotationYaw; event.entity.setDead(); wolf.setPositionAndRotation(x, y, z, rotateX, rotateY); world.spawnEntityInWorld(wolf); break; } } } } }
EDIT : J’ai modifié le code, le loup buguait : parfois il spawnait côté serveur parfois côté client. Mais j’ai corrigé
EDIT n°2 : J’ai aussi un problème quand je veux désactiver les dégâts de feu pour les zombies et skeletons. Je voudrais qu’ils soient immunisées contre le feu, mais je n’y arrive pas. ```java
@SubscribeEvent
public void vanillaMobs(LivingHurtEvent event)
{
World world = event.entity.worldObj;
EntityZombie zombie = new EntityZombie(world);
EntitySkeleton skeleton = new EntitySkeleton(world);if(!world.isRemote)
{
if(thisishalloween.ThisisHalloween.apocalypse)
{
world.spawnEntityInWorld(zombie);
world.spawnEntityInWorld(skeleton);
if(event.entity instanceof EntityZombie || event.entity instanceof EntitySkeleton)
{
if(event.source != null && event.source == DamageSource.onFire )
{
System.out.println(“onFire”);
}
}
}
}J'ai testé de mettre : ```java event.ammount = 0; event.entity.fireResistance = -1; event.entity.setFire(0); event.entity.isImmuneToFire(); event.entity.isEntityInvulnerable(DamageSource.onFire); event.entity.extinguish(); event.entity.attackEntityFrom(DamageSource.onFire, 0); ``` un par un, de tout mettre en même temps, mais rien ne marche. Pourtant, les conditions marchent toutes bien puisque les logs affichent onFire. Du coup, je sais pas comment les immuniser contre le feu. Merci d'avance PS : d'ailleurs j'ai une question concernant le forum : pourquoi l'indentation n'est sauvegardée seulement que quelques fois ? Quand je colle un code java et que c'est bien indenté, parfois ça aligne tout. Je crois ne pas être le seul, ça arrive à d'autre personne aussi.
-
@SubscribeEvent public void vanillaMobs(LivingHurtEvent event) { World world = event.entity.worldObj; if(!world.isRemote) { if(thisishalloween.ThisisHalloween.apocalypse) { if(event.entity instanceof EntityZombie || event.entity instanceof EntitySkeleton) { if(event.source != null && event.source == DamageSource.onFire ) { event.setCancel(true); } } } } }
@‘Axaurus’:
PS : d’ailleurs j’ai une question concernant le forum : pourquoi l’indentation n’est sauvegardée seulement que quelques fois ? Quand je colle un code java et que c’est bien indenté, parfois ça aligne tout. Je crois ne pas être le seul, ça arrive à d’autre personne aussi.
J’ai jamais eu ce souci. Tu fais comment pour ajouter ton code ?
-
C’est pas à cause de l’éditeur ? Il y avait un problème, l’éditeur de message mettez sans dessus-dessous le message quand on éditais le message avec l’aide des balises de formatage (il me semble)
-
J’ai le même souci et c’est long de remettre en ordre la code, quand on copie le code qui est dans une balise java, l’indentation est foute en l’air, les numéros de ligne restent et lorsqu’on les efface, cela efface le retour à la ligne que l’on est obligé de remettre.
-
Oui copier depuis une balise java vers une nouvelle réponse ça fait n’importe quoi. Il faut passer en mode édition de code. (ctrl + shift + s ou cliquer sur l’icône en haut à tout à gauche).
Mais copier du code d’eclipse vers le forum normalement il n’y a pas de soucis.
-
Salut
Ca ne marche toujours pas. Mais j’ai l’impression qu’il peine à brûler. Ca prend plus de temps qu’avantEDIT : Correction d’une grosse faute d’orthographe
-
Salut
J’ai testé, mais ça ne marche toujours pas, malgré mes recherches, disons rapides. J’ai réfléchi et j’ajouterai ça l’année prochaine car si j’ajoute trop de chose cette année, j’aurai plus d’idée pour les autres versions.Sinon, j’ai aussi (encore ) chercher pour mon problème de dimension qui ne marche pas. Du moins le tp, je ne sais pas si le monde en lui-même marche.
Je suis de source sûr (j’ai testé) que c’est dans le teleporter que ça bug. Je ne suis pas sûr mais je crois même savoir précisément quelle condition bug.
Je rappelle mes classes et les logs :
teleporterpackage thisishalloween.world.frightful; import com.google.common.collect.Lists; import java.util.Iterator; import java.util.List; import java.util.Random; import net.minecraft.block.BlockPortal; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.Entity; import net.minecraft.init.Blocks; import net.minecraft.util.BlockPos; import net.minecraft.util.EnumFacing; import net.minecraft.util.LongHashMap; import net.minecraft.util.MathHelper; import net.minecraft.world.ChunkCoordIntPair; import net.minecraft.world.Teleporter; import net.minecraft.world.WorldServer; import thisishalloween.CreateBlocks; import thisishalloween.block.BlockPortalFrightful; public class TeleporterFrightful extends Teleporter { private final WorldServer worldServerInstance; /** A private Random() function in Teleporter */ private final Random random; /** Stores successful portal placement locations for rapid lookup. */ private final LongHashMap destinationCoordinateCache = new LongHashMap(); /** * A list of valid keys for the destinationCoordainteCache. These are based on the X & Z of the players initial * location. */ private final List destinationCoordinateKeys = Lists.newArrayList(); public TeleporterFrightful(WorldServer worldServer) { super(worldServer); this.worldServerInstance = worldServer; this.random = new Random(worldServer.getSeed()); } public void placeInPortal(Entity entityIn, float rotationYaw) { System.out.println("test placeInPortal1"); if (this.worldServerInstance.provider.getDimensionId() != 1) { System.out.println("test placeInPortal2"); if (!this.placeInExistingPortal(entityIn, rotationYaw)) { System.out.println("test placeInPortal3"); this.makePortal(entityIn); this.placeInExistingPortal(entityIn, rotationYaw); } } else { int i = MathHelper.floor_double(entityIn.posX); int j = MathHelper.floor_double(entityIn.posY) - 1; int k = MathHelper.floor_double(entityIn.posZ); byte b0 = 1; byte b1 = 0; for (int l = -2; l <= 2; ++l) { for (int i1 = -2; i1 <= 2; ++i1) { for (int j1 = -1; j1 < 3; ++j1) { int k1 = i + i1 * b0 + l * b1; int l1 = j + j1; int i2 = k + i1 * b1 - l * b0; boolean flag = j1 < 0; this.worldServerInstance.setBlockState(new BlockPos(k1, l1, i2), flag ? Blocks.pumpkin.getDefaultState() : Blocks.air.getDefaultState()); } } } entityIn.setLocationAndAngles((double)i, (double)j, (double)k, entityIn.rotationYaw, 0.0F); entityIn.motionX = entityIn.motionY = entityIn.motionZ = 0.0D; } } public boolean placeInExistingPortal(Entity entityIn, float p_180620_2_) { System.out.println("test placeInExistingPortal"); boolean flag = true; double d0 = -1.0D; int i = MathHelper.floor_double(entityIn.posX); int j = MathHelper.floor_double(entityIn.posZ); boolean flag1 = true; Object object = BlockPos.ORIGIN; long k = ChunkCoordIntPair.chunkXZ2Int(i, j); if (this.destinationCoordinateCache.containsItem(k)) { TeleporterFrightful.PortalPosition portalposition = (TeleporterFrightful.PortalPosition)this.destinationCoordinateCache.getValueByKey(k); d0 = 0.0D; object = portalposition; portalposition.lastUpdateTime = this.worldServerInstance.getTotalWorldTime(); flag1 = false; } else { BlockPos blockpos4 = new BlockPos(entityIn); for (int l = -128; l <= 128; ++l) { BlockPos blockpos1; for (int i1 = -128; i1 <= 128; ++i1) { for (BlockPos blockpos = blockpos4.add(l, this.worldServerInstance.getActualHeight() - 1 - blockpos4.getY(), i1); blockpos.getY() >= 0; blockpos = blockpos1) { blockpos1 = blockpos.down(); if (this.worldServerInstance.getBlockState(blockpos).getBlock() == CreateBlocks.portalFrightful) { while (this.worldServerInstance.getBlockState(blockpos1 = blockpos.down()).getBlock() == CreateBlocks.portalFrightful) { blockpos = blockpos1; } double d1 = blockpos.distanceSq(blockpos4); if (d0 < 0.0D || d1 < d0) { d0 = d1; object = blockpos; } } } } } } if (d0 >= 0.0D) { if (flag1) { this.destinationCoordinateCache.add(k, new TeleporterFrightful.PortalPosition((BlockPos)object, this.worldServerInstance.getTotalWorldTime())); this.destinationCoordinateKeys.add(Long.valueOf(k)); } double d4 = (double)((BlockPos)object).getX() + 0.5D; double d5 = (double)((BlockPos)object).getY() + 0.5D; double d6 = (double)((BlockPos)object).getZ() + 0.5D; EnumFacing enumfacing = null; if (this.worldServerInstance.getBlockState(((BlockPos)object).west()).getBlock() == CreateBlocks.portalFrightful) { enumfacing = EnumFacing.NORTH; } if (this.worldServerInstance.getBlockState(((BlockPos)object).east()).getBlock() == CreateBlocks.portalFrightful) { enumfacing = EnumFacing.SOUTH; } if (this.worldServerInstance.getBlockState(((BlockPos)object).north()).getBlock() == CreateBlocks.portalFrightful) { enumfacing = EnumFacing.EAST; } if (this.worldServerInstance.getBlockState(((BlockPos)object).south()).getBlock() == CreateBlocks.portalFrightful) { enumfacing = EnumFacing.WEST; } EnumFacing enumfacing1 = EnumFacing.getHorizontal(entityIn.getTeleportDirection()); if (enumfacing != null) { EnumFacing enumfacing2 = enumfacing.rotateYCCW(); BlockPos blockpos2 = ((BlockPos)object).offset(enumfacing); boolean flag2 = this.func_180265_a(blockpos2); boolean flag3 = this.func_180265_a(blockpos2.offset(enumfacing2)); if (flag3 && flag2) { object = ((BlockPos)object).offset(enumfacing2); enumfacing = enumfacing.getOpposite(); enumfacing2 = enumfacing2.getOpposite(); BlockPos blockpos3 = ((BlockPos)object).offset(enumfacing); flag2 = this.func_180265_a(blockpos3); flag3 = this.func_180265_a(blockpos3.offset(enumfacing2)); } float f6 = 0.5F; float f1 = 0.5F; if (!flag3 && flag2) { f6 = 1.0F; } else if (flag3 && !flag2) { f6 = 0.0F; } else if (flag3) { f1 = 0.0F; } d4 = (double)((BlockPos)object).getX() + 0.5D; d5 = (double)((BlockPos)object).getY() + 0.5D; d6 = (double)((BlockPos)object).getZ() + 0.5D; d4 += (double)((float)enumfacing2.getFrontOffsetX() * f6 + (float)enumfacing.getFrontOffsetX() * f1); d6 += (double)((float)enumfacing2.getFrontOffsetZ() * f6 + (float)enumfacing.getFrontOffsetZ() * f1); float f2 = 0.0F; float f3 = 0.0F; float f4 = 0.0F; float f5 = 0.0F; if (enumfacing == enumfacing1) { f2 = 1.0F; f3 = 1.0F; } else if (enumfacing == enumfacing1.getOpposite()) { f2 = -1.0F; f3 = -1.0F; } else if (enumfacing == enumfacing1.rotateY()) { f4 = 1.0F; f5 = -1.0F; } else { f4 = -1.0F; f5 = 1.0F; } double d2 = entityIn.motionX; double d3 = entityIn.motionZ; entityIn.motionX = d2 * (double)f2 + d3 * (double)f5; entityIn.motionZ = d2 * (double)f4 + d3 * (double)f3; entityIn.rotationYaw = p_180620_2_ - (float)(enumfacing1.getHorizontalIndex() * 90) + (float)(enumfacing.getHorizontalIndex() * 90); } else { entityIn.motionX = entityIn.motionY = entityIn.motionZ = 0.0D; } entityIn.setLocationAndAngles(d4, d5, d6, entityIn.rotationYaw, entityIn.rotationPitch); return true; } else { return false; } } private boolean func_180265_a(BlockPos p_180265_1_) { return !this.worldServerInstance.isAirBlock(p_180265_1_) || !this.worldServerInstance.isAirBlock(p_180265_1_.up()); } public boolean makePortal(Entity p_85188_1_) { System.out.println("test makePortal"); byte b0 = 16; double d0 = -1.0D; int i = MathHelper.floor_double(p_85188_1_.posX); int j = MathHelper.floor_double(p_85188_1_.posY); int k = MathHelper.floor_double(p_85188_1_.posZ); int l = i; int i1 = j; int j1 = k; int k1 = 0; int l1 = this.random.nextInt(4); int i2; double d1; int k2; double d2; int i3; int j3; int k3; int l3; int i4; int j4; int k4; int l4; int i5; double d3; double d4; for (i2 = i - b0; i2 <= i + b0; ++i2) { d1 = (double)i2 + 0.5D - p_85188_1_.posX; for (k2 = k - b0; k2 <= k + b0; ++k2) { d2 = (double)k2 + 0.5D - p_85188_1_.posZ; label271: for (i3 = this.worldServerInstance.getActualHeight() - 1; i3 >= 0; –i3) { if (this.worldServerInstance.isAirBlock(new BlockPos(i2, i3, k2))) { while (i3 > 0 && this.worldServerInstance.isAirBlock(new BlockPos(i2, i3 - 1, k2))) { --i3; } for (j3 = l1; j3 < l1 + 4; ++j3) { k3 = j3 % 2; l3 = 1 - k3; if (j3 % 4 >= 2) { k3 = -k3; l3 = -l3; } for (i4 = 0; i4 < 3; ++i4) { for (j4 = 0; j4 < 4; ++j4) { for (k4 = -1; k4 < 4; ++k4) { l4 = i2 + (j4 - 1) * k3 + i4 * l3; i5 = i3 + k4; int j5 = k2 + (j4 - 1) * l3 - i4 * k3; if (k4 < 0 && !this.worldServerInstance.getBlockState(new BlockPos(l4, i5, j5)).getBlock().getMaterial().isSolid() || k4 >= 0 && !this.worldServerInstance.isAirBlock(new BlockPos(l4, i5, j5))) { continue label271; } } } } d3 = (double)i3 + 0.5D - p_85188_1_.posY; d4 = d1 * d1 + d3 * d3 + d2 * d2; if (d0 < 0.0D || d4 < d0) { d0 = d4; l = i2; i1 = i3; j1 = k2; k1 = j3 % 4; } } } } } } if (d0 < 0.0D) { for (i2 = i - b0; i2 <= i + b0; ++i2) { d1 = (double)i2 + 0.5D - p_85188_1_.posX; for (k2 = k - b0; k2 <= k + b0; ++k2) { d2 = (double)k2 + 0.5D - p_85188_1_.posZ; label219: for (i3 = this.worldServerInstance.getActualHeight() - 1; i3 >= 0; --i3) { if (this.worldServerInstance.isAirBlock(new BlockPos(i2, i3, k2))) { while (i3 > 0 && this.worldServerInstance.isAirBlock(new BlockPos(i2, i3 - 1, k2))) { --i3; } for (j3 = l1; j3 < l1 + 2; ++j3) { k3 = j3 % 2; l3 = 1 - k3; for (i4 = 0; i4 < 4; ++i4) { for (j4 = -1; j4 < 4; ++j4) { k4 = i2 + (i4 - 1) * k3; l4 = i3 + j4; i5 = k2 + (i4 - 1) * l3; if (j4 < 0 && !this.worldServerInstance.getBlockState(new BlockPos(k4, l4, i5)).getBlock().getMaterial().isSolid() || j4 >= 0 && !this.worldServerInstance.isAirBlock(new BlockPos(k4, l4, i5))) { continue label219; } } } d3 = (double)i3 + 0.5D - p_85188_1_.posY; d4 = d1 * d1 + d3 * d3 + d2 * d2; if (d0 < 0.0D || d4 < d0) { d0 = d4; l = i2; i1 = i3; j1 = k2; k1 = j3 % 2; } } } } } } } int k5 = l; int j2 = i1; k2 = j1; int l5 = k1 % 2; int l2 = 1 - l5; if (k1 % 4 >= 2) { l5 = -l5; l2 = -l2; } if (d0 < 0.0D) { i1 = MathHelper.clamp_int(i1, 70, this.worldServerInstance.getActualHeight() - 10); j2 = i1; for (i3 = -1; i3 <= 1; ++i3) { for (j3 = 1; j3 < 3; ++j3) { for (k3 = -1; k3 < 3; ++k3) { l3 = k5 + (j3 - 1) * l5 + i3 * l2; i4 = j2 + k3; j4 = k2 + (j3 - 1) * l2 - i3 * l5; boolean flag = k3 < 0; this.worldServerInstance.setBlockState(new BlockPos(l3, i4, j4), flag ? Blocks.pumpkin.getDefaultState() : Blocks.air.getDefaultState()); } } } } IBlockState iblockstate = CreateBlocks.portalFrightful.getDefaultState().withProperty(BlockPortalFrightful.AXIS, l5 != 0 ? EnumFacing.Axis.X : EnumFacing.Axis.Z); for (j3 = 0; j3 < 4; ++j3) { for (k3 = 0; k3 < 4; ++k3) { for (l3 = -1; l3 < 4; ++l3) { i4 = k5 + (k3 - 1) * l5; j4 = j2 + l3; k4 = k2 + (k3 - 1) * l2; boolean flag1 = k3 == 0 || k3 == 3 || l3 == -1 || l3 == 3; this.worldServerInstance.setBlockState(new BlockPos(i4, j4, k4), flag1 ? Blocks.pumpkin.getDefaultState() : iblockstate, 2); } } for (k3 = 0; k3 < 4; ++k3) { for (l3 = -1; l3 < 4; ++l3) { i4 = k5 + (k3 - 1) * l5; j4 = j2 + l3; k4 = k2 + (k3 - 1) * l2; this.worldServerInstance.notifyNeighborsOfStateChange(new BlockPos(i4, j4, k4), this.worldServerInstance.getBlockState(new BlockPos(i4, j4, k4)).getBlock()); } } } return true; } /** * called periodically to remove out-of-date portal locations from the cache list. Argument par1 is a * WorldServer.getTotalWorldTime() value. */ public void removeStalePortalLocations(long p_85189_1_) { if (p_85189_1_ % 100L == 0L) { Iterator iterator = this.destinationCoordinateKeys.iterator(); long j = p_85189_1_ - 600L; while (iterator.hasNext()) { Long olong = (Long)iterator.next(); TeleporterFrightful.PortalPosition portalposition = (TeleporterFrightful.PortalPosition)this.destinationCoordinateCache.getValueByKey(olong.longValue()); if (portalposition == null || portalposition.lastUpdateTime < j) { iterator.remove(); this.destinationCoordinateCache.remove(olong.longValue()); } } } } public class PortalPosition extends BlockPos { /** The worldtime at which this PortalPosition was last verified */ public long lastUpdateTime; public PortalPosition(BlockPos pos, long p_i45747_3_) { super(pos.getX(), pos.getY(), pos.getZ()); this.lastUpdateTime = p_i45747_3_; } } }
blockPortal
package thisishalloween.block; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.block.BlockBreakable; import net.minecraft.block.material.Material; import net.minecraft.block.properties.IProperty; import net.minecraft.block.properties.PropertyEnum; import net.minecraft.block.state.BlockState; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityList; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.init.Blocks; import net.minecraft.item.Item; import net.minecraft.item.ItemMonsterPlacer; import net.minecraft.server.MinecraftServer; import net.minecraft.util.AxisAlignedBB; import net.minecraft.util.BlockPos; import net.minecraft.util.EnumFacing; import net.minecraft.util.EnumParticleTypes; import net.minecraft.util.EnumWorldBlockLayer; import net.minecraft.world.IBlockAccess; import net.minecraft.world.World; import net.minecraft.world.WorldServer; import net.minecraftforge.common.DimensionManager; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; import thisishalloween.CreateBlocks; import thisishalloween.world.frightful.TeleporterFrightful; public class BlockPortalFrightful extends BlockBreakable { public static final PropertyEnum AXIS = PropertyEnum.create("axis", EnumFacing.Axis.class, new EnumFacing.Axis[] {EnumFacing.Axis.X, EnumFacing.Axis.Z}); public BlockPortalFrightful() { super(Material.portal, false); this.setDefaultState(this.blockState.getBaseState().withProperty(AXIS, EnumFacing.Axis.X)); this.setTickRandomly(true); } public void updateTick(World worldIn, BlockPos pos, IBlockState state, Random rand) { super.updateTick(worldIn, pos, state, rand); if (worldIn.provider.isSurfaceWorld() && worldIn.getGameRules().getGameRuleBooleanValue("doMobSpawning") && rand.nextInt(2000) < worldIn.getDifficulty().getDifficultyId()) { int i = pos.getY(); BlockPos blockpos1; for (blockpos1 = pos; !World.doesBlockHaveSolidTopSurface(worldIn, blockpos1) && blockpos1.getY() > 0; blockpos1 = blockpos1.down()) { ; } if (i > 0 && !worldIn.getBlockState(blockpos1.up()).getBlock().isNormalCube()) { Entity entity = ItemMonsterPlacer.spawnCreature(worldIn, 57, (double)blockpos1.getX() + 0.5D, (double)blockpos1.getY() + 1.1D, (double)blockpos1.getZ() + 0.5D); if (entity != null) { entity.timeUntilPortal = entity.getPortalCooldown(); } } } } public AxisAlignedBB getCollisionBoundingBox(World worldIn, BlockPos pos, IBlockState state) { return null; } public void setBlockBoundsBasedOnState(IBlockAccess worldIn, BlockPos pos) { EnumFacing.Axis axis = (EnumFacing.Axis)worldIn.getBlockState(pos).getValue(AXIS); float f = 0.125F; float f1 = 0.125F; if (axis == EnumFacing.Axis.X) { f = 0.5F; } if (axis == EnumFacing.Axis.Z) { f1 = 0.5F; } this.setBlockBounds(0.5F - f, 0.0F, 0.5F - f1, 0.5F + f, 1.0F, 0.5F + f1); } public static int getMetaForAxis(EnumFacing.Axis axis) { return axis == EnumFacing.Axis.X ? 1 : (axis == EnumFacing.Axis.Z ? 2 : 0); } public boolean isFullCube() { return false; } public boolean func_176548_d(World worldIn, BlockPos p_176548_2_) { BlockPortalFrightful.Size size = new BlockPortalFrightful.Size(worldIn, p_176548_2_, EnumFacing.Axis.X); if (size.func_150860_b() && size.field_150864_e == 0) { size.func_150859_c(); return true; } else { BlockPortalFrightful.Size size1 = new BlockPortalFrightful.Size(worldIn, p_176548_2_, EnumFacing.Axis.Z); if (size1.func_150860_b() && size1.field_150864_e == 0) { size1.func_150859_c(); return true; } else { return false; } } } /** * Called when a neighboring block changes. */ public void onNeighborBlockChange(World worldIn, BlockPos pos, IBlockState state, Block neighborBlock) { EnumFacing.Axis axis = (EnumFacing.Axis)state.getValue(AXIS); BlockPortalFrightful.Size size; if (axis == EnumFacing.Axis.X) { size = new BlockPortalFrightful.Size(worldIn, pos, EnumFacing.Axis.X); if (!size.func_150860_b() || size.field_150864_e < size.field_150868_h * size.field_150862_g) { worldIn.setBlockState(pos, Blocks.air.getDefaultState()); } } else if (axis == EnumFacing.Axis.Z) { size = new BlockPortalFrightful.Size(worldIn, pos, EnumFacing.Axis.Z); if (!size.func_150860_b() || size.field_150864_e < size.field_150868_h * size.field_150862_g) { worldIn.setBlockState(pos, Blocks.air.getDefaultState()); } } } @SideOnly(Side.CLIENT) public boolean shouldSideBeRendered(IBlockAccess worldIn, BlockPos pos, EnumFacing side) { EnumFacing.Axis axis = null; IBlockState iblockstate = worldIn.getBlockState(pos); if (worldIn.getBlockState(pos).getBlock() == this) { axis = (EnumFacing.Axis)iblockstate.getValue(AXIS); if (axis == null) { return false; } if (axis == EnumFacing.Axis.Z && side != EnumFacing.EAST && side != EnumFacing.WEST) { return false; } if (axis == EnumFacing.Axis.X && side != EnumFacing.SOUTH && side != EnumFacing.NORTH) { return false; } } boolean flag = worldIn.getBlockState(pos.west()).getBlock() == this && worldIn.getBlockState(pos.west(2)).getBlock() != this; boolean flag1 = worldIn.getBlockState(pos.east()).getBlock() == this && worldIn.getBlockState(pos.east(2)).getBlock() != this; boolean flag2 = worldIn.getBlockState(pos.north()).getBlock() == this && worldIn.getBlockState(pos.north(2)).getBlock() != this; boolean flag3 = worldIn.getBlockState(pos.south()).getBlock() == this && worldIn.getBlockState(pos.south(2)).getBlock() != this; boolean flag4 = flag || flag1 || axis == EnumFacing.Axis.X; boolean flag5 = flag2 || flag3 || axis == EnumFacing.Axis.Z; return flag4 && side == EnumFacing.WEST ? true : (flag4 && side == EnumFacing.EAST ? true : (flag5 && side == EnumFacing.NORTH ? true : flag5 && side == EnumFacing.SOUTH)); } /** * Returns the quantity of items to drop on block destruction. */ public int quantityDropped(Random random) { return 0; } /** * Called When an Entity Collided with the Block */ @Override public void onEntityCollidedWithBlock(World worldIn, BlockPos pos, IBlockState state, Entity entityIn) { System.out.println("test onEntityCollidedWithBlock"); if (entityIn.ridingEntity == null && entityIn.riddenByEntity == null && entityIn.timeUntilPortal <= 0) { int id = thisishalloween.ThisisHalloween.DIMENSIONID; if (entityIn.dimension == id) { id = 0; } if (entityIn instanceof EntityPlayerMP) { EntityPlayerMP player = (EntityPlayerMP) entityIn; MinecraftServer mcServer = MinecraftServer.getServer(); if (player.timeUntilPortal > 0) { player.timeUntilPortal = 10; } else if (player.dimension != thisishalloween.ThisisHalloween.DIMENSIONID) { System.out.println("test joueur n'est pas dans Frightful"); player.timeUntilPortal = 10; mcServer.getConfigurationManager().transferPlayerToDimension(player, thisishalloween.ThisisHalloween.DIMENSIONID, new TeleporterFrightful(mcServer.worldServerForDimension(thisishalloween.ThisisHalloween.DIMENSIONID))); } else { System.out.println("test joueur est dans Frightful"); player.timeUntilPortal = 10; mcServer.getConfigurationManager().transferPlayerToDimension(player, 0, new TeleporterFrightful(mcServer.worldServerForDimension(0))); } } else { travelToDimension(entityIn, id); } } } private void travelToDimension(Entity entity, int id) { if (!entity.worldObj.isRemote && !entity.isDead) { entity.worldObj.theProfiler.startSection("changeDimension"); MinecraftServer minecraftserver = MinecraftServer.getServer(); int j = entity.dimension; WorldServer worldserver = minecraftserver.worldServerForDimension(j); WorldServer worldserver1 = minecraftserver.worldServerForDimension(id); entity.dimension = id; if (j == 1 && id == 1) { worldserver1 = minecraftserver.worldServerForDimension(0); entity.dimension = 0; } entity.worldObj.removeEntity(entity); entity.isDead = false; entity.worldObj.theProfiler.startSection("reposition"); minecraftserver.getConfigurationManager().transferEntityToWorld(entity, j, worldserver, worldserver1, new TeleporterFrightful(worldserver1)); entity.worldObj.theProfiler.endStartSection("reloading"); Entity entity1 = EntityList.createEntityByName(EntityList.getEntityString(entity), worldserver1); if (entity1 != null) { entity1.copyDataFromOld(entity); if (j == 1 && id == 1) { BlockPos spawnPoint = worldserver1.getSpawnPoint(); spawnPoint = entity.worldObj.getTopSolidOrLiquidBlock(spawnPoint); entity1.setLocationAndAngles(spawnPoint.getX(), spawnPoint.getY(), spawnPoint.getZ(), entity1.rotationYaw, entity1.rotationPitch); } worldserver1.spawnEntityInWorld(entity1); } entity.isDead = true; entity.worldObj.theProfiler.endSection(); worldserver.resetUpdateEntityTick(); worldserver1.resetUpdateEntityTick(); entity.worldObj.theProfiler.endSection(); } } public void transferEntityToWorld(Entity entityIn, int p_82448_2_, WorldServer p_82448_3_, WorldServer p_82448_4_) { transferEntityToWorld(entityIn, thisishalloween.ThisisHalloween.DIMENSIONID, DimensionManager.getWorld(0), DimensionManager.getWorld(thisishalloween.ThisisHalloween.DIMENSIONID)); } /** * Convert the given metadata into a BlockState for this Block */ public IBlockState getStateFromMeta(int meta) { return this.getDefaultState().withProperty(AXIS, (meta & 3) == 2 ? EnumFacing.Axis.Z : EnumFacing.Axis.X); } @SideOnly(Side.CLIENT) public EnumWorldBlockLayer getBlockLayer() { return EnumWorldBlockLayer.TRANSLUCENT; } @SideOnly(Side.CLIENT) public void randomDisplayTick(World worldIn, BlockPos pos, IBlockState state, Random rand) { if (rand.nextInt(100) == 0) { worldIn.playSound((double)pos.getX() + 0.5D, (double)pos.getY() + 0.5D, (double)pos.getZ() + 0.5D, "portal.portal", 0.5F, rand.nextFloat() * 0.4F + 0.8F, false); } for (int i = 0; i < 4; ++i) { double d0 = (double)((float)pos.getX() + rand.nextFloat()); double d1 = (double)((float)pos.getY() + rand.nextFloat()); double d2 = (double)((float)pos.getZ() + rand.nextFloat()); double d3 = ((double)rand.nextFloat() - 0.5D) * 0.5D; double d4 = ((double)rand.nextFloat() - 0.5D) * 0.5D; double d5 = ((double)rand.nextFloat() - 0.5D) * 0.5D; int j = rand.nextInt(2) * 2 - 1; if (worldIn.getBlockState(pos.west()).getBlock() != this && worldIn.getBlockState(pos.east()).getBlock() != this) { d0 = (double)pos.getX() + 0.5D + 0.25D * (double)j; d3 = (double)(rand.nextFloat() * 2.0F * (float)j); } else { d2 = (double)pos.getZ() + 0.5D + 0.25D * (double)j; d5 = (double)(rand.nextFloat() * 2.0F * (float)j); } worldIn.spawnParticle(EnumParticleTypes.PORTAL, d0, d1, d2, d3, d4, d5, new int[0]); } } /** * Convert the BlockState into the correct metadata value */ public int getMetaFromState(IBlockState state) { return getMetaForAxis((EnumFacing.Axis)state.getValue(AXIS)); } @SideOnly(Side.CLIENT) public Item getItem(World worldIn, BlockPos pos) { return null; } protected BlockState createBlockState() { return new BlockState(this, new IProperty[] {AXIS}); } public static class Size { private final World world; private final EnumFacing.Axis axis; private final EnumFacing field_150866_c; private final EnumFacing field_150863_d; private int field_150864_e = 0; private BlockPos field_150861_f; private int field_150862_g; private int field_150868_h; public Size(World worldIn, BlockPos p_i45694_2_, EnumFacing.Axis p_i45694_3_) { this.world = worldIn; this.axis = p_i45694_3_; if (p_i45694_3_ == EnumFacing.Axis.X) { this.field_150863_d = EnumFacing.EAST; this.field_150866_c = EnumFacing.WEST; } else { this.field_150863_d = EnumFacing.NORTH; this.field_150866_c = EnumFacing.SOUTH; } for (BlockPos blockpos1 = p_i45694_2_; p_i45694_2_.getY() > blockpos1.getY() - 21 && p_i45694_2_.getY() > 0 && this.func_150857_a(worldIn.getBlockState(p_i45694_2_.down()).getBlock()); p_i45694_2_ = p_i45694_2_.down()) { ; } int i = this.func_180120_a(p_i45694_2_, this.field_150863_d) - 1; if (i >= 0) { this.field_150861_f = p_i45694_2_.offset(this.field_150863_d, i); this.field_150868_h = this.func_180120_a(this.field_150861_f, this.field_150866_c); if (this.field_150868_h < 2 || this.field_150868_h > 21) { this.field_150861_f = null; this.field_150868_h = 0; } } if (this.field_150861_f != null) { this.field_150862_g = this.func_150858_a(); } } protected int func_180120_a(BlockPos p_180120_1_, EnumFacing p_180120_2_) { int i; for (i = 0; i < 22; ++i) { BlockPos blockpos1 = p_180120_1_.offset(p_180120_2_, i); if (!this.func_150857_a(this.world.getBlockState(blockpos1).getBlock()) || this.world.getBlockState(blockpos1.down()).getBlock() != Blocks.obsidian) { break; } } Block block = this.world.getBlockState(p_180120_1_.offset(p_180120_2_, i)).getBlock(); return block == Blocks.pumpkin ? i : 0; } protected int func_150858_a() { int i; label56: for (this.field_150862_g = 0; this.field_150862_g < 21; ++this.field_150862_g) { for (i = 0; i < this.field_150868_h; ++i) { BlockPos blockpos = this.field_150861_f.offset(this.field_150866_c, i).up(this.field_150862_g); Block block = this.world.getBlockState(blockpos).getBlock(); if (!this.func_150857_a(block)) { break label56; } if (block == CreateBlocks.portalFrightful) { ++this.field_150864_e; } if (i == 0) { block = this.world.getBlockState(blockpos.offset(this.field_150863_d)).getBlock(); if (block != Blocks.pumpkin) { break label56; } } else if (i == this.field_150868_h - 1) { block = this.world.getBlockState(blockpos.offset(this.field_150866_c)).getBlock(); if (block != Blocks.pumpkin) { break label56; } } } } for (i = 0; i < this.field_150868_h; ++i) { if (this.world.getBlockState(this.field_150861_f.offset(this.field_150866_c, i).up(this.field_150862_g)).getBlock() != Blocks.pumpkin) { this.field_150862_g = 0; break; } } if (this.field_150862_g <= 21 && this.field_150862_g >= 3) { return this.field_150862_g; } else { this.field_150861_f = null; this.field_150868_h = 0; this.field_150862_g = 0; return 0; } } protected boolean func_150857_a(Block p_150857_1_) { return p_150857_1_.getMaterial() == Material.air || p_150857_1_ == CreateBlocks.portalFrightful; } public boolean func_150860_b() { return this.field_150861_f != null && this.field_150868_h >= 2 && this.field_150868_h <= 21 && this.field_150862_g >= 3 && this.field_150862_g <= 21; } public void func_150859_c() { for (int i = 0; i < this.field_150868_h; ++i) { BlockPos blockpos = this.field_150861_f.offset(this.field_150866_c, i); for (int j = 0; j < this.field_150862_g; ++j) { this.world.setBlockState(blockpos.up(j), CreateBlocks.portalFrightful.getDefaultState().withProperty(BlockPortalFrightful.AXIS, this.axis), 2); } } } } }
logs
[17:43:50] [main/INFO] [GradleStart]: Extra: [] [17:43:50] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Antonin/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [17:43:50] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [17:43:50] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [17:43:50] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [17:43:50] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [17:43:50] [main/INFO] [FML]: Forge Mod Loader version 11.14.4.1563 for Minecraft 1.8 loading [17:43:50] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_92, running on Windows 10:amd64:10.0, installed at G:\Programmes\Java\jre [17:43:50] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [17:43:50] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [17:43:50] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [17:43:50] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [17:43:50] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [17:43:50] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [17:43:50] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [17:43:50] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [17:43:50] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [17:43:50] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [17:43:51] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [17:43:52] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [17:43:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [17:43:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [17:43:53] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [17:43:53] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [17:43:53] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [17:43:53] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [17:43:53] [Client thread/INFO]: Setting user: Player226 [17:43:56] [Client thread/INFO]: LWJGL Version: 2.9.1 [17:43:57] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: –-- Minecraft Crash Report ---- // This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~] Time: 03/07/16 17:43 Description: Loading screen debug info This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR A detailed walkthrough of the error, its code path and all known details is as follows: –------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.8 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_92, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 866848488 bytes (826 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: Loaded coremods (and transformers): GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13416 Compatibility Profile Context 15.300.1025.1001' Renderer: 'AMD Radeon R9 200 Series' [17:43:57] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [17:43:57] [Client thread/INFO] [FML]: MinecraftForge v11.14.4.1563 Initialized [17:43:57] [Client thread/INFO] [FML]: Replaced 204 ore recipies [17:43:57] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [17:43:57] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [17:43:57] [Client thread/INFO] [FML]: Searching G:\Codage\Minecraft\This_is_Halloween\v1.3\MC 1.8\run\mods for mods [17:43:58] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [17:43:59] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, This_is_Halloween] at CLIENT [17:43:59] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, This_is_Halloween] at SERVER [17:43:59] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:This_is_Halloween [17:43:59] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [17:43:59] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations [17:43:59] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [17:43:59] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [17:43:59] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [17:43:59] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [17:43:59] [Client thread/INFO] [FML]: Applying holder lookups [17:43:59] [Client thread/INFO] [FML]: Holder lookups applied [17:43:59] [Client thread/INFO] [FML]: Injecting itemstacks [17:43:59] [Client thread/INFO] [FML]: Itemstack injection complete [17:43:59] [Sound Library Loader/INFO]: Starting up SoundSystem… [17:44:00] [Thread-9/INFO]: Initializing LWJGL OpenAL [17:44:00] [Thread-9/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [17:44:00] [Thread-9/INFO]: OpenAL initialized. [17:44:00] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null [17:44:00] [Sound Library Loader/INFO]: Sound engine started [17:44:03] [Client thread/INFO] [FML]: Max texture size: 16384 [17:44:03] [Client thread/INFO]: Created: 16x16 textures-atlas [17:44:04] [Client thread/INFO] [FML]: Injecting itemstacks [17:44:04] [Client thread/INFO] [FML]: Itemstack injection complete [17:44:04] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [17:44:04] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:This_is_Halloween [17:44:04] [Client thread/INFO]: SoundSystem shutting down… [17:44:04] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com [17:44:04] [Sound Library Loader/INFO]: Starting up SoundSystem… [17:44:04] [Thread-11/INFO]: Initializing LWJGL OpenAL [17:44:04] [Thread-11/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [17:44:04] [Thread-11/INFO]: OpenAL initialized. [17:44:05] [Sound Library Loader/INFO]: Sound engine started [17:44:07] [Client thread/INFO] [FML]: Max texture size: 16384 [17:44:07] [Client thread/INFO]: Created: 512x512 textures-atlas [17:47:01] [Server thread/INFO]: Starting integrated minecraft server version 1.8 [17:47:01] [Server thread/INFO]: Generating keypair [17:47:01] [Server thread/INFO]: Converting map! [17:47:01] [Server thread/INFO]: Scanning folders… [17:47:01] [Server thread/INFO]: Total conversion count is 0 [17:47:01] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance [17:47:01] [Server thread/INFO] [FML]: Applying holder lookups [17:47:01] [Server thread/INFO] [FML]: Holder lookups applied [17:47:01] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@19c2ebac) [17:47:02] [Server thread/INFO] [FML]: Loading dimension -5 (New World) (net.minecraft.server.integrated.IntegratedServer@19c2ebac) [17:47:02] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@19c2ebac) [17:47:02] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@19c2ebac) [17:47:02] [Server thread/INFO]: Preparing start region for level 0 [17:47:03] [Server thread/INFO]: Preparing spawn area: 83% [17:47:03] [Server thread/INFO]: Changing view distance to 12, from 10 [17:47:05] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2 [17:47:05] [Netty Server IO #1/INFO] [FML]: Client protocol version 2 [17:47:05] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : This_is_Halloween@1.3,FML@8.0.99.99,Forge@11.14.4.1563,mcp@9.05 [17:47:05] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established [17:47:05] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established [17:47:05] [Server thread/INFO]: Player226[local:E:04ed21f6] logged in with entity id 39 at (1063.5, 4.0, -12.5) [17:47:05] [Server thread/INFO]: Player226 joined the game [17:47:06] [Server thread/INFO]: Saving and pausing game… [17:47:06] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [17:47:06] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [17:47:06] [Server thread/INFO]: Saving chunks for level 'New World'/The End [17:47:06] [Server thread/INFO]: Saving chunks for level 'New World'/Frightful [17:47:26] [Server thread/INFO]: Saving and pausing game… [17:47:26] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [17:47:26] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [17:47:26] [Server thread/INFO]: Saving chunks for level 'New World'/The End [17:47:26] [Server thread/INFO]: Saving chunks for level 'New World'/Frightful [17:47:30] [Server thread/INFO]: Player226 has just earned the achievement [Taking Inventory] [17:47:30] [Client thread/INFO]: [CHAT] Player226 has just earned the achievement [Taking Inventory] [17:47:55] [Client thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:209]: test onEntityCollidedWithBlock [17:47:55] [Client thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:209]: test onEntityCollidedWithBlock [17:47:55] [Server thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:209]: test onEntityCollidedWithBlock [17:47:55] [Server thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:230]: test joueur n'est pas dans Frightful [17:47:55] [Server thread/INFO] [STDOUT]: [thisishalloween.world.frightful.TeleporterFrightful:placeInPortal:44]: test placeInPortal1 [17:47:55] [Server thread/INFO] [STDOUT]: [thisishalloween.world.frightful.TeleporterFrightful:placeInPortal:48]: test placeInPortal2 [17:47:55] [Server thread/INFO] [STDOUT]: [thisishalloween.world.frightful.TeleporterFrightful:placeInExistingPortal:88]: test placeInExistingPortal [17:47:55] [Server thread/FATAL] [FML]: Exception caught executing FutureTask: java.util.concurrent.ExecutionException: net.minecraft.util.ReportedException: Colliding entity with block java.util.concurrent.ExecutionException: net.minecraft.util.ReportedException: Colliding entity with block at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_92] at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_92] at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:715) [FMLCommonHandler.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:727) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:171) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:540) [MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_92] Caused by: net.minecraft.util.ReportedException: Colliding entity with block at net.minecraft.entity.Entity.moveEntity(Entity.java:857) ~[Entity.class:?] at net.minecraft.network.NetHandlerPlayServer.processPlayer(NetHandlerPlayServer.java:381) ~[NetHandlerPlayServer.class:?] at net.minecraft.network.play.client.C03PacketPlayer.processPacket(C03PacketPlayer.java:36) ~[C03PacketPlayer.class:?] at net.minecraft.network.play.client.C03PacketPlayer$C06PacketPlayerPosLook.processPacket(C03PacketPlayer.java:259) ~[C03PacketPlayer$C06PacketPlayerPosLook.class:?] at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:24) ~[PacketThreadUtil$1.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_92] at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_92] at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:714) ~[FMLCommonHandler.class:?] … 5 more Caused by: java.lang.NullPointerException at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:195) ~[ChunkProviderServer.class:?] at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:138) ~[ChunkProviderServer.class:?] at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:108) ~[ChunkProviderServer.class:?] at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:209) ~[ChunkProviderServer.class:?] at net.minecraft.world.World.getChunkFromChunkCoords(World.java:360) ~[World.class:?] at net.minecraft.world.World.getChunkFromBlockCoords(World.java:349) ~[World.class:?] at net.minecraft.world.World.getBlockState(World.java:902) ~[World.class:?] at thisishalloween.world.frightful.TeleporterFrightful.placeInExistingPortal(TeleporterFrightful.java:120) ~[TeleporterFrightful.class:?] at thisishalloween.world.frightful.TeleporterFrightful.placeInPortal(TeleporterFrightful.java:50) ~[TeleporterFrightful.class:?] at net.minecraft.server.management.ServerConfigurationManager.transferEntityToWorld(ServerConfigurationManager.java:670) ~[ServerConfigurationManager.class:?] at net.minecraft.server.management.ServerConfigurationManager.transferPlayerToDimension(ServerConfigurationManager.java:576) ~[ServerConfigurationManager.class:?] at thisishalloween.block.BlockPortalFrightful.onEntityCollidedWithBlock(BlockPortalFrightful.java:232) ~[BlockPortalFrightful.class:?] at net.minecraft.entity.Entity.doBlockCollisions(Entity.java:924) ~[Entity.class:?] at net.minecraft.entity.Entity.moveEntity(Entity.java:850) ~[Entity.class:?] at net.minecraft.network.NetHandlerPlayServer.processPlayer(NetHandlerPlayServer.java:381) ~[NetHandlerPlayServer.class:?] at net.minecraft.network.play.client.C03PacketPlayer.processPacket(C03PacketPlayer.java:36) ~[C03PacketPlayer.class:?] at net.minecraft.network.play.client.C03PacketPlayer$C06PacketPlayerPosLook.processPacket(C03PacketPlayer.java:259) ~[C03PacketPlayer$C06PacketPlayerPosLook.class:?] at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:24) ~[PacketThreadUtil$1.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_92] at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_92] at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:714) ~[FMLCommonHandler.class:?] … 5 more [17:47:55] [Server thread/ERROR]: Encountered an unexpected exception net.minecraft.util.ReportedException: Exception ticking world at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:770) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:171) ~[IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:540) [MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_92] Caused by: java.lang.NullPointerException at net.minecraft.world.gen.ChunkProviderServer.unloadAllChunks(ChunkProviderServer.java:99) ~[ChunkProviderServer.class:?] at net.minecraft.server.management.PlayerManager.updatePlayerInstances(PlayerManager.java:94) ~[PlayerManager.class:?] at net.minecraft.world.WorldServer.tick(WorldServer.java:230) ~[WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:764) ~[MinecraftServer.class:?] … 4 more [17:47:55] [Server thread/ERROR]: This crash report has been saved to: G:\Codage\Minecraft\This_is_Halloween\v1.3\MC 1.8\run\.\crash-reports\crash-2016-07-03_17.47.55-server.txt [17:47:55] [Server thread/INFO]: Stopping server [17:47:55] [Server thread/INFO]: Saving players [17:47:56] [Server thread/INFO]: Saving worlds [17:47:56] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [17:47:56] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [17:47:56] [Server thread/INFO]: Saving chunks for level 'New World'/The End [17:47:56] [Server thread/INFO]: Saving chunks for level 'New World'/Frightful [17:47:56] [Server thread/ERROR]: Exception stopping the server java.lang.NullPointerException at net.minecraft.world.gen.ChunkProviderServer.saveChunks(ChunkProviderServer.java:330) ~[ChunkProviderServer.class:?] at net.minecraft.world.WorldServer.saveAllChunks(WorldServer.java:976) ~[WorldServer.class:?] at net.minecraft.server.MinecraftServer.saveAllWorlds(MinecraftServer.java:419) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:454) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.stopServer(IntegratedServer.java:356) ~[IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:593) [MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_92] [17:47:56] [Server thread/INFO] [FML]: Applying holder lookups [17:47:56] [Server thread/INFO] [FML]: Holder lookups applied [17:47:56] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded.
C’est un NPE, je ne sais pas si ce que j’ai trouvé est la réponse à ça ou pas.
Dans la fonction placeInPortal, c’est cette condition qui bug : ```java
if (!this.placeInExistingPortal(entityIn, rotationYaw))
{
System.out.println(“test placeInPortal3”);this.makePortal(entityIn);
this.placeInExistingPortal(entityIn, rotationYaw);
}car dans les logs, le test placeInPortal 1 et 2 s'affichent mais pas le 3\. Donc la fonction makePortal n'est pas appelé, ce qui peut être la cause du crash. Sinon, j'aurai encore une question (et après j'arrête de vous embêter avec ce mod) : quand y'a de l'orage, il pleut et le ciel devient plus foncé. Je voudrais faire qu'il y ai de l'orage, mais qu'il ne pleuve pas. J'ai essayé plein de chose, mais sans succès (soit il pleut, soit il fait beau). Comme si l'orage est dépendant de la pluie. Merci d'avance___Salut Pour la dimension, le problème n'est pas dans le teleporter mais la dimension en elle-même. J'ai essayé d'utiliser le teleporter de Minecraft et c'est le même crash. J'ai essayer de remplacer ma classe par la classe original (BlockPortal) et en essayant sans rien modifié, ça m'emmène dans le Nether (donc le tp marche bien). Je modifie juste le tp pour m'emmener dans ma dimension en mettant : [java]if (entityIn instanceof EntityPlayerMP) { EntityPlayerMP player = (EntityPlayerMP) entityIn; MinecraftServer mcServer = MinecraftServer.getServer(); if (player.timeUntilPortal > 0) { player.timeUntilPortal = 10; } else if (player.dimension != thisishalloween.ThisisHalloween.DIMENSIONID)
-
Ta dimension est-elle bien enregistrée avec le bon id ?
Pour l’orage sans pluie, il doit y avoir un moyen, je regarderais -
Oui, en tout cas je pense.
DimensionManager.registerProviderType(this.DIMENSIONID, WorldProviderFrightful.class, false); DimensionManager.registerDimension(DIMENSIONID, DIMENSIONID); ```___J'ai chercher et j'ai pu conclure. Déjà, de base on sait que la dimension est bugué par un code qui lui est propre. Donc on en a 7 : BiomeGenEvilland, BiomeGenLayerFrightful, ChunkProviderFrightful, GenLayerFrightful, TeleporterFrightful, WorldChunkManagerFrightful et WorldProviderFrightful. D'après mes tests, j'ai pu en éliminé pour n'en avoir plus que deux : WorldChunkManagerFrightful et WorldProviderFrightful. Mais je ne sais pas trop comment savoir lequelle des deux bug. J'ai essayé d'utilisé mon propre WorldProvider avec le ChunkManager du nether. Ca crash :
[17:26:08] [main/INFO] [GradleStart]: Extra: []
[17:26:08] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Antonin/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[17:26:08] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[17:26:08] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[17:26:08] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[17:26:08] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[17:26:08] [main/INFO] [FML]: Forge Mod Loader version 11.14.4.1563 for Minecraft 1.8 loading
[17:26:08] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_92, running on Windows 10:amd64:10.0, installed at G:\Programmes\Java\jre
[17:26:08] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[17:26:08] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[17:26:08] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[17:26:08] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[17:26:08] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:26:08] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[17:26:08] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[17:26:08] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:26:08] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:26:08] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[17:26:09] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[17:26:10] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[17:26:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[17:26:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[17:26:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[17:26:10] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[17:26:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[17:26:10] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[17:26:11] [Client thread/INFO]: Setting user: Player147
[17:26:14] [Client thread/INFO]: LWJGL Version: 2.9.1
[17:26:14] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: –-- Minecraft Crash Report ----
// Ooh. Shiny.Time: 06/07/16 17:26
Description: Loading screen debug infoThis is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
A detailed walkthrough of the error, its code path and all known details is as follows:
– System Details –
Details:
Minecraft Version: 1.8
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_92, Oracle Corporation
Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 865602696 bytes (825 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
GL info: ’ Vendor: ‘ATI Technologies Inc.’ Version: ‘4.5.13416 Compatibility Profile Context 15.300.1025.1001’ Renderer: ‘AMD Radeon R9 200 Series’
[17:26:14] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[17:26:14] [Client thread/INFO] [FML]: MinecraftForge v11.14.4.1563 Initialized
[17:26:14] [Client thread/INFO] [FML]: Replaced 204 ore recipies
[17:26:14] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[17:26:15] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[17:26:15] [Client thread/INFO] [FML]: Searching G:\Codage\Minecraft\This_is_Halloween\v1.3\MC 1.8\run\mods for mods
[17:26:16] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[17:26:16] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, This_is_Halloween] at CLIENT
[17:26:16] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, This_is_Halloween] at SERVER
[17:26:16] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:This_is_Halloween
[17:26:16] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[17:26:16] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
[17:26:16] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[17:26:16] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[17:26:16] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[17:26:16] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[17:26:16] [Client thread/INFO] [FML]: Applying holder lookups
[17:26:17] [Client thread/INFO] [FML]: Holder lookups applied
[17:26:17] [Client thread/INFO] [FML]: Injecting itemstacks
[17:26:17] [Client thread/INFO] [FML]: Itemstack injection complete
[17:26:17] [Sound Library Loader/INFO]: Starting up SoundSystem…
[17:26:17] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null
[17:26:17] [Thread-9/INFO]: Initializing LWJGL OpenAL
[17:26:17] [Thread-9/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[17:26:17] [Thread-9/INFO]: OpenAL initialized.
[17:26:17] [Sound Library Loader/INFO]: Sound engine started
[17:26:20] [Client thread/INFO] [FML]: Max texture size: 16384
[17:26:20] [Client thread/INFO]: Created: 16x16 textures-atlas
[17:26:21] [Client thread/INFO] [FML]: Injecting itemstacks
[17:26:21] [Client thread/INFO] [FML]: Itemstack injection complete
[17:26:21] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[17:26:21] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:This_is_Halloween
[17:26:21] [Client thread/INFO]: SoundSystem shutting down…
[17:26:21] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[17:26:21] [Sound Library Loader/INFO]: Starting up SoundSystem…
[17:26:21] [Thread-11/INFO]: Initializing LWJGL OpenAL
[17:26:21] [Thread-11/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[17:26:21] [Thread-11/INFO]: OpenAL initialized.
[17:26:22] [Sound Library Loader/INFO]: Sound engine started
[17:26:24] [Client thread/INFO] [FML]: Max texture size: 16384
[17:26:24] [Client thread/INFO]: Created: 512x512 textures-atlas
[17:26:35] [Server thread/INFO]: Starting integrated minecraft server version 1.8
[17:26:35] [Server thread/INFO]: Generating keypair
[17:26:35] [Server thread/INFO]: Converting map!
[17:26:35] [Server thread/INFO]: Scanning folders…
[17:26:35] [Server thread/INFO]: Total conversion count is 0
[17:26:35] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[17:26:35] [Server thread/INFO] [FML]: Applying holder lookups
[17:26:35] [Server thread/INFO] [FML]: Holder lookups applied
[17:26:35] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@26fce23d)
[17:26:36] [Server thread/INFO] [FML]: Loading dimension -5 (New World) (net.minecraft.server.integrated.IntegratedServer@26fce23d)
[17:26:36] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@26fce23d)
[17:26:36] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@26fce23d)
[17:26:36] [Server thread/INFO]: Preparing start region for level 0
[17:26:37] [Server thread/INFO]: Preparing spawn area: 64%
[17:26:37] [Server thread/INFO]: Changing view distance to 12, from 10
[17:26:38] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
[17:26:38] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
[17:26:38] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : This_is_Halloween@1.3,FML@8.0.99.99,Forge@11.14.4.1563,mcp@9.05
[17:26:38] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
[17:26:38] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[17:26:38] [Server thread/INFO]: Player147[local:E:2808f4f4] logged in with entity id 33 at (-31.5, 4.0, -1161.5)
[17:26:38] [Server thread/INFO]: Player147 joined the game
[17:26:39] [Server thread/INFO]: Saving and pausing game…
[17:26:39] [Server thread/INFO]: Saving chunks for level ‘New World’/Overworld
[17:26:40] [Server thread/INFO]: Saving chunks for level ‘New World’/Nether
[17:26:40] [Server thread/INFO]: Saving chunks for level ‘New World’/The End
[17:26:40] [Server thread/INFO]: Saving chunks for level ‘New World’/Frightful
[17:26:53] [Server thread/INFO]: Player147 has just earned the achievement [Taking Inventory]
[17:26:53] [Client thread/INFO]: [CHAT] Player147 has just earned the achievement [Taking Inventory]
[17:27:12] [Client thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:209]: test onEntityCollidedWithBlock
[17:27:12] [Client thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:209]: test onEntityCollidedWithBlock
[17:27:12] [Client thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:209]: test onEntityCollidedWithBlock
[17:27:12] [Client thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:209]: test onEntityCollidedWithBlock
[17:27:12] [Client thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:209]: test onEntityCollidedWithBlock
[17:27:12] [Client thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:209]: test onEntityCollidedWithBlock
[17:27:12] [Server thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:209]: test onEntityCollidedWithBlock
[17:27:12] [Server thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:229]: test joueur n’est pas dans Frightful
[17:27:12] [Server thread/FATAL] [FML]: Exception caught executing FutureTask: java.util.concurrent.ExecutionException: net.minecraft.util.ReportedException: Colliding entity with block
java.util.concurrent.ExecutionException: net.minecraft.util.ReportedException: Colliding entity with block
at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_92]
at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_92]
at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:715) [FMLCommonHandler.class:?]
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:727) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669) [MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:171) [IntegratedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:540) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_92]
Caused by: net.minecraft.util.ReportedException: Colliding entity with block
at net.minecraft.entity.Entity.moveEntity(Entity.java:857) ~[Entity.class:?]
at net.minecraft.network.NetHandlerPlayServer.processPlayer(NetHandlerPlayServer.java:381) ~[NetHandlerPlayServer.class:?]
at net.minecraft.network.play.client.C03PacketPlayer.processPacket(C03PacketPlayer.java:36) ~[C03PacketPlayer.class:?]
at net.minecraft.network.play.client.C03PacketPlayer$C04PacketPlayerPosition.processPacket(C03PacketPlayer.java:154) ~[C03PacketPlayer$C04PacketPlayerPosition.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:24) ~[PacketThreadUtil$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_92]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_92]
at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:714) ~[FMLCommonHandler.class:?]
… 5 more
Caused by: java.lang.NullPointerException
at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:195) ~[ChunkProviderServer.class:?]
at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:138) ~[ChunkProviderServer.class:?]
at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:108) ~[ChunkProviderServer.class:?]
at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:209) ~[ChunkProviderServer.class:?]
at net.minecraft.world.World.getChunkFromChunkCoords(World.java:360) ~[World.class:?]
at net.minecraft.world.World.getChunkFromBlockCoords(World.java:349) ~[World.class:?]
at net.minecraft.world.World.getBlockState(World.java:902) ~[World.class:?]
at net.minecraft.world.Teleporter.placeInExistingPortal(Teleporter.java:106) ~[Teleporter.class:?]
at net.minecraft.world.Teleporter.placeInPortal(Teleporter.java:40) ~[Teleporter.class:?]
at net.minecraft.server.management.ServerConfigurationManager.transferEntityToWorld(ServerConfigurationManager.java:670) ~[ServerConfigurationManager.class:?]
at net.minecraft.server.management.ServerConfigurationManager.transferPlayerToDimension(ServerConfigurationManager.java:576) ~[ServerConfigurationManager.class:?]
at thisishalloween.block.BlockPortalFrightful.onEntityCollidedWithBlock(BlockPortalFrightful.java:231) ~[BlockPortalFrightful.class:?]
at net.minecraft.entity.Entity.doBlockCollisions(Entity.java:924) ~[Entity.class:?]
at net.minecraft.entity.Entity.moveEntity(Entity.java:850) ~[Entity.class:?]
at net.minecraft.network.NetHandlerPlayServer.processPlayer(NetHandlerPlayServer.java:381) ~[NetHandlerPlayServer.class:?]
at net.minecraft.network.play.client.C03PacketPlayer.processPacket(C03PacketPlayer.java:36) ~[C03PacketPlayer.class:?]
at net.minecraft.network.play.client.C03PacketPlayer$C04PacketPlayerPosition.processPacket(C03PacketPlayer.java:154) ~[C03PacketPlayer$C04PacketPlayerPosition.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:24) ~[PacketThreadUtil$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_92]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_92]
at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:714) ~[FMLCommonHandler.class:?]
… 5 more
[17:27:12] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.util.ReportedException: Exception ticking world
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:770) ~[MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669) ~[MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:171) ~[IntegratedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:540) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_92]
Caused by: java.lang.NullPointerException
at net.minecraft.world.gen.ChunkProviderServer.unloadAllChunks(ChunkProviderServer.java:99) ~[ChunkProviderServer.class:?]
at net.minecraft.server.management.PlayerManager.updatePlayerInstances(PlayerManager.java:94) ~[PlayerManager.class:?]
at net.minecraft.world.WorldServer.tick(WorldServer.java:230) ~[WorldServer.class:?]
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:764) ~[MinecraftServer.class:?]
… 4 more
[17:27:12] [Server thread/ERROR]: This crash report has been saved to: G:\Codage\Minecraft\This_is_Halloween\v1.3\MC 1.8\run.\crash-reports\crash-2016-07-06_17.27.12-server.txt
[17:27:12] [Server thread/INFO]: Stopping server
[17:27:12] [Server thread/INFO]: Saving players
[17:27:12] [Server thread/INFO]: Saving worlds
[17:27:12] [Server thread/INFO]: Saving chunks for level ‘New World’/Overworld
[17:27:12] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: –-- Minecraft Crash Report ----
// Uh… Did I do that?Time: 06/07/16 17:27
Description: Exception ticking worldjava.lang.NullPointerException: Exception ticking world
at net.minecraft.world.gen.ChunkProviderServer.unloadAllChunks(ChunkProviderServer.java:99)
at net.minecraft.server.management.PlayerManager.updatePlayerInstances(PlayerManager.java:94)
at net.minecraft.world.WorldServer.tick(WorldServer.java:230)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:764)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:171)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:540)
at java.lang.Thread.run(Unknown Source)A detailed walkthrough of the error, its code path and all known details is as follows:
– Head –
Stacktrace:
at net.minecraft.world.gen.ChunkProviderServer.unloadAllChunks(ChunkProviderServer.java:99)
at net.minecraft.server.management.PlayerManager.updatePlayerInstances(PlayerManager.java:94)
at net.minecraft.world.WorldServer.tick(WorldServer.java:230)– Affected level –
Details:
Level name: New World
All players: 0 total; []
Chunk stats: ServerChunkCache: 1 Drop: 0
Level seed: -3903340098477351303
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: 0,00,0,00,0,00 - World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 0 game time, 0 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode:ERRORNullPointerException: null
Stacktrace:
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:764)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:171)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:540)
at java.lang.Thread.run(Unknown Source)– System Details –
Details:
Minecraft Version: 1.8
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_92, Oracle Corporation
Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 638049904 bytes (608 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.10 FML v8.0.99.99 Minecraft Forge 11.14.4.1563 4 mods loaded, 4 mods active
States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored
UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8-11.14.4.1563.jar)
UCHIJAAAA Forge{11.14.4.1563} [Minecraft Forge] (forgeSrc-1.8-11.14.4.1563.jar)
UCHIJAAAA This_is_Halloween{1.3} [This_is_Halloween] (bin)
Loaded coremods (and transformers):
GL info:ERRORRuntimeException: No OpenGL context found in the current thread.
Profiler Position: N/A (disabled)
Player Count: 1 / 8; [EntityPlayerMP[‘Player147’/33, l=‘New World’, x=-32,00, y=4,25, z=-1160,00]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to ‘fml,forge’
[17:27:12] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2016-07-06_17.27.12-server.txt
[17:27:12] [Client thread/INFO] [FML]: Waiting for the server to terminate/save.
[17:27:12] [Server thread/INFO]: Saving chunks for level ‘New World’/Nether
[17:27:12] [Server thread/INFO]: Saving chunks for level ‘New World’/The End
[17:27:12] [Server thread/INFO]: Saving chunks for level ‘New World’/Frightful
[17:27:12] [Server thread/ERROR]: Exception stopping the server
java.lang.NullPointerException
at net.minecraft.world.gen.ChunkProviderServer.saveChunks(ChunkProviderServer.java:330) ~[ChunkProviderServer.class:?]
at net.minecraft.world.WorldServer.saveAllChunks(WorldServer.java:976) ~[WorldServer.class:?]
at net.minecraft.server.MinecraftServer.saveAllWorlds(MinecraftServer.java:419) ~[MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:454) ~[MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.stopServer(IntegratedServer.java:356) ~[IntegratedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:593) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_92]
[17:27:12] [Server thread/INFO] [FML]: Applying holder lookups
[17:27:12] [Server thread/INFO] [FML]: Holder lookups applied
[17:27:12] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded.
[17:27:12] [Client thread/INFO] [FML]: Server terminated.
AL lib: (EE) alc_cleanup: 1 device not closed
Java HotSpot 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future releaseAprès ça, j'ai essayé d'utiliser le WorldProvider du nether avec mon propre WorldChunkManager. Ca crash aussi :
[17:29:27] [main/INFO] [GradleStart]: Extra: []
[17:29:28] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Antonin/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[17:29:28] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[17:29:28] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[17:29:28] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[17:29:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[17:29:28] [main/INFO] [FML]: Forge Mod Loader version 11.14.4.1563 for Minecraft 1.8 loading
[17:29:28] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_92, running on Windows 10:amd64:10.0, installed at G:\Programmes\Java\jre
[17:29:28] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[17:29:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[17:29:28] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[17:29:28] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[17:29:28] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:29:28] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[17:29:28] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[17:29:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:29:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:29:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[17:29:28] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[17:29:29] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[17:29:29] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[17:29:29] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[17:29:30] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[17:29:30] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[17:29:30] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[17:29:30] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[17:29:30] [Client thread/INFO]: Setting user: Player185
[17:29:33] [Client thread/INFO]: LWJGL Version: 2.9.1
[17:29:33] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: –-- Minecraft Crash Report ----
// Would you like a cupcake?Time: 06/07/16 17:29
Description: Loading screen debug infoThis is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
A detailed walkthrough of the error, its code path and all known details is as follows:
– System Details –
Details:
Minecraft Version: 1.8
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_92, Oracle Corporation
Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 902633144 bytes (860 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
GL info: ’ Vendor: ‘ATI Technologies Inc.’ Version: ‘4.5.13416 Compatibility Profile Context 15.300.1025.1001’ Renderer: ‘AMD Radeon R9 200 Series’
[17:29:33] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[17:29:33] [Client thread/INFO] [FML]: MinecraftForge v11.14.4.1563 Initialized
[17:29:33] [Client thread/INFO] [FML]: Replaced 204 ore recipies
[17:29:33] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[17:29:34] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[17:29:34] [Client thread/INFO] [FML]: Searching G:\Codage\Minecraft\This_is_Halloween\v1.3\MC 1.8\run\mods for mods
[17:29:35] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[17:29:35] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, This_is_Halloween] at CLIENT
[17:29:35] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, This_is_Halloween] at SERVER
[17:29:36] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:This_is_Halloween
[17:29:36] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[17:29:36] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
[17:29:36] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[17:29:36] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[17:29:36] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[17:29:36] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[17:29:36] [Client thread/INFO] [FML]: Applying holder lookups
[17:29:36] [Client thread/INFO] [FML]: Holder lookups applied
[17:29:36] [Client thread/INFO] [FML]: Injecting itemstacks
[17:29:36] [Client thread/INFO] [FML]: Itemstack injection complete
[17:29:36] [Sound Library Loader/INFO]: Starting up SoundSystem…
[17:29:36] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null
[17:29:36] [Thread-9/INFO]: Initializing LWJGL OpenAL
[17:29:36] [Thread-9/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[17:29:36] [Thread-9/INFO]: OpenAL initialized.
[17:29:37] [Sound Library Loader/INFO]: Sound engine started
[17:29:39] [Client thread/INFO] [FML]: Max texture size: 16384
[17:29:39] [Client thread/INFO]: Created: 16x16 textures-atlas
[17:29:40] [Client thread/INFO] [FML]: Injecting itemstacks
[17:29:40] [Client thread/INFO] [FML]: Itemstack injection complete
[17:29:40] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[17:29:40] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:This_is_Halloween
[17:29:40] [Client thread/INFO]: SoundSystem shutting down…
[17:29:40] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[17:29:40] [Sound Library Loader/INFO]: Starting up SoundSystem…
[17:29:40] [Thread-11/INFO]: Initializing LWJGL OpenAL
[17:29:40] [Thread-11/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[17:29:40] [Thread-11/INFO]: OpenAL initialized.
[17:29:41] [Sound Library Loader/INFO]: Sound engine started
[17:29:43] [Client thread/INFO] [FML]: Max texture size: 16384
[17:29:43] [Client thread/INFO]: Created: 512x512 textures-atlas
[17:29:49] [Server thread/INFO]: Starting integrated minecraft server version 1.8
[17:29:49] [Server thread/INFO]: Generating keypair
[17:29:49] [Server thread/INFO]: Converting map!
[17:29:49] [Server thread/INFO]: Scanning folders…
[17:29:49] [Server thread/INFO]: Total conversion count is 0
[17:29:49] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[17:29:49] [Server thread/INFO] [FML]: Applying holder lookups
[17:29:49] [Server thread/INFO] [FML]: Holder lookups applied
[17:29:49] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@19c1c97b)
[17:29:50] [Server thread/INFO] [FML]: Loading dimension -5 (New World) (net.minecraft.server.integrated.IntegratedServer@19c1c97b)
[17:29:50] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@19c1c97b)
[17:29:50] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@19c1c97b)
[17:29:50] [Server thread/INFO]: Preparing start region for level 0
[17:29:51] [Server thread/INFO]: Changing view distance to 12, from 10
[17:29:52] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
[17:29:52] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
[17:29:52] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : This_is_Halloween@1.3,FML@8.0.99.99,Forge@11.14.4.1563,mcp@9.05
[17:29:52] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
[17:29:52] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[17:29:52] [Server thread/INFO]: Player185[local:E:090b3ae6] logged in with entity id 7 at (1013.5, 4.0, -539.5)
[17:29:52] [Server thread/INFO]: Player185 joined the game
[17:29:54] [Server thread/INFO]: Player185 has just earned the achievement [Taking Inventory]
[17:29:54] [Client thread/INFO]: [CHAT] Player185 has just earned the achievement [Taking Inventory]
[17:30:48] [Client thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:209]: test onEntityCollidedWithBlock
[17:30:48] [Client thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:209]: test onEntityCollidedWithBlock
[17:30:48] [Client thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:209]: test onEntityCollidedWithBlock
[17:30:48] [Client thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:209]: test onEntityCollidedWithBlock
[17:30:48] [Client thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:209]: test onEntityCollidedWithBlock
[17:30:48] [Client thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:209]: test onEntityCollidedWithBlock
[17:30:48] [Server thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:209]: test onEntityCollidedWithBlock
[17:30:48] [Server thread/INFO] [STDOUT]: [thisishalloween.block.BlockPortalFrightful:onEntityCollidedWithBlock:229]: test joueur n’est pas dans Frightful
[17:30:49] [Server thread/FATAL] [FML]: Exception caught executing FutureTask: java.util.concurrent.ExecutionException: net.minecraft.util.ReportedException: Exception generating new chunk
java.util.concurrent.ExecutionException: net.minecraft.util.ReportedException: Exception generating new chunk
at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_92]
at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_92]
at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:715) [FMLCommonHandler.class:?]
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:727) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669) [MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:171) [IntegratedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:540) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_92]
Caused by: net.minecraft.util.ReportedException: Exception generating new chunk
at net.minecraft.entity.Entity.moveEntity(Entity.java:857) ~[Entity.class:?]
at net.minecraft.network.NetHandlerPlayServer.processPlayer(NetHandlerPlayServer.java:381) ~[NetHandlerPlayServer.class:?]
at net.minecraft.network.play.client.C03PacketPlayer.processPacket(C03PacketPlayer.java:36) ~[C03PacketPlayer.class:?]
at net.minecraft.network.play.client.C03PacketPlayer$C06PacketPlayerPosLook.processPacket(C03PacketPlayer.java:259) ~[C03PacketPlayer$C06PacketPlayerPosLook.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:24) ~[PacketThreadUtil$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_92]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_92]
at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:714) ~[FMLCommonHandler.class:?]
… 5 more
Caused by: java.lang.NullPointerException
at thisishalloween.world.frightful.WorldChunkManagerFrightful.getRainfall(WorldChunkManagerFrightful.java:91) ~[WorldChunkManagerFrightful.class:?]
at net.minecraft.world.biome.BiomeCache$Block.<init>(BiomeCache.java:105) ~[BiomeCache$Block.class:?]
at net.minecraft.world.biome.BiomeCache.getBiomeCacheBlock(BiomeCache.java:37) ~[BiomeCache.class:?]
at net.minecraft.world.biome.BiomeCache.getCachedBiomes(BiomeCache.java:84) ~[BiomeCache.class:?]
at thisishalloween.world.frightful.WorldChunkManagerFrightful.getBiomeGenAt(WorldChunkManagerFrightful.java:178) ~[WorldChunkManagerFrightful.class:?]
at thisishalloween.world.frightful.WorldChunkManagerFrightful.loadBlockGeneratorData(WorldChunkManagerFrightful.java:164) ~[WorldChunkManagerFrightful.class:?]
at net.minecraft.world.gen.ChunkProviderHell.provideChunk(ChunkProviderHell.java:294) ~[ChunkProviderHell.class:?]
at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:178) ~[ChunkProviderServer.class:?]
at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:138) ~[ChunkProviderServer.class:?]
at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:108) ~[ChunkProviderServer.class:?]
at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:209) ~[ChunkProviderServer.class:?]
at net.minecraft.world.World.getChunkFromChunkCoords(World.java:360) ~[World.class:?]
at net.minecraft.world.World.getChunkFromBlockCoords(World.java:349) ~[World.class:?]
at net.minecraft.world.World.getBlockState(World.java:902) ~[World.class:?]
at net.minecraft.world.Teleporter.placeInExistingPortal(Teleporter.java:106) ~[Teleporter.class:?]
at net.minecraft.world.Teleporter.placeInPortal(Teleporter.java:40) ~[Teleporter.class:?]
at net.minecraft.server.management.ServerConfigurationManager.transferEntityToWorld(ServerConfigurationManager.java:670) ~[ServerConfigurationManager.class:?]
at net.minecraft.server.management.ServerConfigurationManager.transferPlayerToDimension(ServerConfigurationManager.java:576) ~[ServerConfigurationManager.class:?]
at thisishalloween.block.BlockPortalFrightful.onEntityCollidedWithBlock(BlockPortalFrightful.java:231) ~[BlockPortalFrightful.class:?]
at net.minecraft.entity.Entity.doBlockCollisions(Entity.java:924) ~[Entity.class:?]
at net.minecraft.entity.Entity.moveEntity(Entity.java:850) ~[Entity.class:?]
at net.minecraft.network.NetHandlerPlayServer.processPlayer(NetHandlerPlayServer.java:381) ~[NetHandlerPlayServer.class:?]
at net.minecraft.network.play.client.C03PacketPlayer.processPacket(C03PacketPlayer.java:36) ~[C03PacketPlayer.class:?]
at net.minecraft.network.play.client.C03PacketPlayer$C06PacketPlayerPosLook.processPacket(C03PacketPlayer.java:259) ~[C03PacketPlayer$C06PacketPlayerPosLook.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:24) ~[PacketThreadUtil$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_92]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_92]
at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:714) ~[FMLCommonHandler.class:?]
… 5 more
[17:30:49] [Server thread/INFO]: Stopping server
[17:30:49] [Server thread/INFO]: Saving players
[17:30:49] [Server thread/INFO]: Saving worlds
[17:30:49] [Server thread/INFO]: Saving chunks for level ‘New World’/Overworld
[17:30:49] [Server thread/INFO]: Saving chunks for level ‘New World’/Nether
[17:30:49] [Server thread/INFO]: Saving chunks for level ‘New World’/The End
[17:30:49] [Server thread/INFO]: Saving chunks for level ‘New World’/Nether
[17:30:49] [Server thread/INFO] [FML]: Unloading dimension 0
[17:30:49] [Server thread/INFO] [FML]: Unloading dimension -1
[17:30:49] [Server thread/INFO] [FML]: Unloading dimension 1
[17:30:49] [Server thread/INFO] [FML]: Unloading dimension -5
[17:30:49] [Server thread/INFO] [FML]: Applying holder lookups
[17:30:49] [Server thread/INFO] [FML]: Holder lookups applied
[17:30:50] [Client thread/FATAL]: Reported exception thrown!
net.minecraft.util.ReportedException: Getting biome
at net.minecraft.world.World.getBiomeGenForCoordsBody(World.java:210) ~[World.class:?]
at net.minecraft.world.WorldProvider.getBiomeGenForCoords(WorldProvider.java:429) ~[WorldProvider.class:?]
at net.minecraft.world.World.getBiomeGenForCoords(World.java:185) ~[World.class:?]
at net.minecraftforge.client.ForgeHooksClient.getSkyBlendColour(ForgeHooksClient.java:396) ~[ForgeHooksClient.class:?]
at net.minecraft.world.World.getSkyColorBody(World.java:1531) ~[World.class:?]
at net.minecraft.world.WorldProvider.getSkyColor(WorldProvider.java:463) ~[WorldProvider.class:?]
at net.minecraft.world.World.getSkyColor(World.java:1518) ~[World.class:?]
at net.minecraft.client.renderer.EntityRenderer.updateFogColor(EntityRenderer.java:1760) ~[EntityRenderer.class:?]
at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1280) ~[EntityRenderer.class:?]
at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1266) ~[EntityRenderer.class:?]
at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1091) ~[EntityRenderer.class:?]
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1114) ~[Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:376) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
Caused by: java.lang.NullPointerException
at thisishalloween.world.frightful.WorldChunkManagerFrightful.getRainfall(WorldChunkManagerFrightful.java:91) ~[WorldChunkManagerFrightful.class:?]
at net.minecraft.world.biome.BiomeCache$Block.<init>(BiomeCache.java:105) ~[BiomeCache$Block.class:?]
at net.minecraft.world.biome.BiomeCache.getBiomeCacheBlock(BiomeCache.java:37) ~[BiomeCache.class:?]
at net.minecraft.world.biome.BiomeCache.func_180284_a(BiomeCache.java:48) ~[BiomeCache.class:?]
at thisishalloween.world.frightful.WorldChunkManagerFrightful.func_180300_a(WorldChunkManagerFrightful.java:79) ~[WorldChunkManagerFrightful.class:?]
at net.minecraft.world.chunk.Chunk.getBiome(Chunk.java:1442) ~[Chunk.class:?]
at net.minecraft.world.World.getBiomeGenForCoordsBody(World.java:196) ~[World.class:?]
… 25 more
[17:30:50] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: –-- Minecraft Crash Report ----
// There are four lights!Time: 06/07/16 17:30
Description: Getting biomejava.lang.NullPointerException: Getting biome
at thisishalloween.world.frightful.WorldChunkManagerFrightful.getRainfall(WorldChunkManagerFrightful.java:91)
at net.minecraft.world.biome.BiomeCache$Block.<init>(BiomeCache.java:105)
at net.minecraft.world.biome.BiomeCache.getBiomeCacheBlock(BiomeCache.java:37)
at net.minecraft.world.biome.BiomeCache.func_180284_a(BiomeCache.java:48)
at thisishalloween.world.frightful.WorldChunkManagerFrightful.func_180300_a(WorldChunkManagerFrightful.java:79)
at net.minecraft.world.chunk.Chunk.getBiome(Chunk.java:1442)
at net.minecraft.world.World.getBiomeGenForCoordsBody(World.java:196)
at net.minecraft.world.WorldProvider.getBiomeGenForCoords(WorldProvider.java:429)
at net.minecraft.world.World.getBiomeGenForCoords(World.java:185)
at net.minecraftforge.client.ForgeHooksClient.getSkyBlendColour(ForgeHooksClient.java:396)
at net.minecraft.world.World.getSkyColorBody(World.java:1531)
at net.minecraft.world.WorldProvider.getSkyColor(WorldProvider.java:463)
at net.minecraft.world.World.getSkyColor(World.java:1518)
at net.minecraft.client.renderer.EntityRenderer.updateFogColor(EntityRenderer.java:1760)
at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1280)
at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1266)
at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1091)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1114)
at net.minecraft.client.Minecraft.run(Minecraft.java:376)
at net.minecraft.client.main.Main.main(Main.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
at GradleStart.main(Unknown Source)A detailed walkthrough of the error, its code path and all known details is as follows:
– Head –
Stacktrace:
at thisishalloween.world.frightful.WorldChunkManagerFrightful.getRainfall(WorldChunkManagerFrightful.java:91)
at net.minecraft.world.biome.BiomeCache$Block.<init>(BiomeCache.java:105)
at net.minecraft.world.biome.BiomeCache.getBiomeCacheBlock(BiomeCache.java:37)
at net.minecraft.world.biome.BiomeCache.func_180284_a(BiomeCache.java:48)
at thisishalloween.world.frightful.WorldChunkManagerFrightful.func_180300_a(WorldChunkManagerFrightful.java:79)
at net.minecraft.world.chunk.Chunk.getBiome(Chunk.java:1442)– Coordinates of biome request –
Details:
Location: World: (-18,65,-18), Chunk: (at 14,4,14 in -2,-2; contains blocks -32,0,-32 to -17,255,-17), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
Stacktrace:
at net.minecraft.world.World.getBiomeGenForCoordsBody(World.java:196)
at net.minecraft.world.WorldProvider.getBiomeGenForCoords(WorldProvider.java:429)
at net.minecraft.world.World.getBiomeGenForCoords(World.java:185)
at net.minecraftforge.client.ForgeHooksClient.getSkyBlendColour(ForgeHooksClient.java:396)
at net.minecraft.world.World.getSkyColorBody(World.java:1531)
at net.minecraft.world.WorldProvider.getSkyColor(WorldProvider.java:463)
at net.minecraft.world.World.getSkyColor(World.java:1518)
at net.minecraft.client.renderer.EntityRenderer.updateFogColor(EntityRenderer.java:1760)
at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1280)
at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1266)– Affected level –
Details:
Level name: MpServer
All players: 1 total; [EntityPlayerSP[‘Player185’/7, l=‘MpServer’, x=8,50, y=65,00, z=8,50]]
Chunk stats: MultiplayerChunkCache: 0, 0
Level seed: 0
Level generator: ID 01 - flat, ver 0. Features enabled: false
Level generator options:
Level spawn location: 8,00,64,00,8,00 - World: (8,64,8), Chunk: (at 8,4,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 0 game time, 0 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Forced entities: 1 total; [EntityPlayerSP[‘Player185’/7, l=‘MpServer’, x=8,50, y=65,00, z=8,50]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:392)
at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2614)
at net.minecraft.client.Minecraft.run(Minecraft.java:398)
at net.minecraft.client.main.Main.main(Main.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
at GradleStart.main(Unknown Source)– System Details –
Details:
Minecraft Version: 1.8
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_92, Oracle Corporation
Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 851900680 bytes (812 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.10 FML v8.0.99.99 Minecraft Forge 11.14.4.1563 4 mods loaded, 4 mods active
States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored
UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8-11.14.4.1563.jar)
UCHIJAAAA Forge{11.14.4.1563} [Minecraft Forge] (forgeSrc-1.8-11.14.4.1563.jar)
UCHIJAAAA This_is_Halloween{1.3} [This_is_Halloween] (bin)
Loaded coremods (and transformers):
GL info: ’ Vendor: ‘ATI Technologies Inc.’ Version: ‘4.5.13416 Compatibility Profile Context 15.300.1025.1001’ Renderer: ‘AMD Radeon R9 200 Series’
Launched Version: 1.8
LWJGL: 2.9.1
OpenGL: AMD Radeon R9 200 Series GL version 4.5.13416 Compatibility Profile Context 15.300.1025.1001, ATI Technologies Inc.
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.Using VBOs: No
Is Modded: Definitely; Client brand changed to ‘fml,forge’
Type: Client (map_client.txt)
Resource Packs: []
Current Language: English (US)
Profiler Position: N/A (disabled)
[17:30:50] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: #@!@# Game crashed! Crash report saved to: #@!@# G:\Codage\Minecraft\This_is_Halloween\v1.3\MC 1.8\run.\crash-reports\crash-2016-07-06_17.30.50-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed
Java HotSpot 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future releaseDu coup, c'est peut-être les deux qui bugs :-/ Sinon, j'ai une autre question : en faisant mes tests, j'ai vu que BiomeGenLayerFrightful n'était utilisé nulle part. A quoi sert-il alors ? Est-ce la cause du crash ?</init></init></init></init>
-
DIMENSIONID est égal à quoi ? (si c’est -1, 0, ou 1 ça ne peut pas marcher).
-
Il est égal à -5___Salut
Est-ce que quelqu’un aurait la réponse pour ce problème de dimension ?Sinon, j’ai créer un mob et j’ai voulu lui ajouter un item à la main. J’ai utilisé :
private final ItemStack defaultHeldItem = new ItemStack(CreateItems.fork, 1); public ItemStack getHeldItem() { return defaultHeldItem; }
Au départ, je l’ai mis sur mon boss mais y’avait rien. Je l’ai ensuite mis sur un mob qui a la même taille que nous. Et ça marche plus ou moins. En fait, il tient un gros cube violet et noir (celui disant qu’il manque la texture). Or, elle apparaît bien dans mon inventaire et dans ma main. Je pense qu’il faut ajouter un truc dans le render. Mais au départ mon but c’était de le mettre à mon boss, mais il n’aparait pas dans sa main (le mob fait 5,5 blocks de haut). Il doit y avoir un moyen de le positionner correctement je pense, car je pense que c’est un problème de taille. Mais comment ?
Merci d’avance___Salut
Désolé de vous demander autant, mais je suis face à un autre problème. J’ai fait en sorte que quand l’apocalypse est déclenché (peu importe la manière), ça affiche un message dans le chat. Jusque là, j’avais testé en solo, donc ça marchait bien. Mais j’ai testé de lancé un server et un client. Le message ne s’affiche que dans le chat du joueur qui déclenche l’apocalypse. Je voudrais que ça soit un message commun, mais je ne sais pas comment faire. J’avais pensé à créer une liste et de mettre dedans tout les joueurs connectés et ensuite d’envoyer le message à chaque joueur de la liste. Mais je ne sais pas si c’est faisable, et je pense aussi que ça doit être lourd sur un serveur avec des centaines de joueurs connecté. Y’a t-il un autre moyen ou est-ce que ce moyen peut marcher (sans lag) ?Merci d’avance
PS : J’utilise ```java
event.player.addChatMessage -
@‘Axaurus’:
Salut
Désolé de vous demander autant, mais je suis face à un autre problème. J’ai fait en sorte que quand l’apocalypse est déclenché (peu importe la manière), ça affiche un message dans le chat. Jusque là, j’avais testé en solo, donc ça marchait bien. Mais j’ai testé de lancé un server et un client. Le message ne s’affiche que dans le chat du joueur qui déclenche l’apocalypse. Je voudrais que ça soit un message commun, mais je ne sais pas comment faire. J’avais pensé à créer une liste et de mettre dedans tout les joueurs connectés et ensuite d’envoyer le message à chaque joueur de la liste. Mais je ne sais pas si c’est faisable, et je pense aussi que ça doit être lourd sur un serveur avec des centaines de joueurs connecté. Y’a t-il un autre moyen ou est-ce que ce moyen peut marcher (sans lag) ?Merci d’avance
PS : J’utilise ```java
event.player.addChatMessageSalut!, je ne suis pas sur de ma proposition mais avec un packet et tu sendtoall.
-
@‘Axaurus’:
Salut
Désolé de vous demander autant, mais je suis face à un autre problème. J’ai fait en sorte que quand l’apocalypse est déclenché (peu importe la manière), ça affiche un message dans le chat. Jusque là, j’avais testé en solo, donc ça marchait bien. Mais j’ai testé de lancé un server et un client. Le message ne s’affiche que dans le chat du joueur qui déclenche l’apocalypse. Je voudrais que ça soit un message commun, mais je ne sais pas comment faire. J’avais pensé à créer une liste et de mettre dedans tout les joueurs connectés et ensuite d’envoyer le message à chaque joueur de la liste. Mais je ne sais pas si c’est faisable, et je pense aussi que ça doit être lourd sur un serveur avec des centaines de joueurs connecté. Y’a t-il un autre moyen ou est-ce que ce moyen peut marcher (sans lag) ?Merci d’avance
PS : J’utilise ```java
event.player.addChatMessageIl y a une fonction pour directement avoir la liste des joueurs connectés, tu peux ensuite envoyer le message à tous les joueurs de la list. Après, je ne comprend pas pourquoi tu le fait dans un event, il faut le faire au moment où la variable qui signifie que l’apocalypse a commencée deviens true.
-
Faut un peu réfléchir :
MinecraftServer.getServer().getConfigurationManager().sendChatMsg(new ChatComponentTranslation("msg.translation", new Object[0]));
Quelle commande de Minecraft permet d’envoyer un message à tous les joueurs ? Il exécuter cela côté serveur.
-
Merci
J’y avais pas pensé à rechercher dans les commandes server.___Salut
J’ai refait des tests pour trouver ce qui buguait dans la dimension. Précédemment, j’avais dit que c’était le WorldProvider ou le WorldChunkManager qui buguait. Maintenant, j’ai la certitude : c’est le WorldProvider qui bug. Plus précisément cette méthode : ```java
@Override
public void registerWorldChunkManager()
{
System.out.println(“cc”);
this.worldChunkMgr = new WorldChunkManagerFrightful();
this.dimensionId = ThisisHalloween.DIMENSIONID;
}Comment je sais ? J'ai tout simplement supprimer la méthode et ça marche correctement. Ce n'est pas le WorldChunkManager qui bug, le voici :```java package thisishalloween.world.frightful; import net.minecraft.world.biome.WorldChunkManager; public class WorldChunkManagerFrightful extends WorldChunkManager { }
Comme vous voyez, j’ai tout supprimer. En gros, ça utilise celui de base.
Je comprend pas tout là. Ca utilise un truc de base et ça ne marche pas, et si j’enlève, ça l’utilise quand même mais ça marche. o_o
Je vais aller voir partout si d’autre personnes ont eu ce bug. Mais si vous avez une solution (ou même un début de piste), je suis preneur J’ai ENFIN réussi à régler ce problème de dimension. Suffisait de rempacer ```java
public WorldChunkManagerFrightful(long p_i45744_1, WorldType p_i45744_3, String p_i45744_4)
{
this();
this.field_180301_f = p_i45744_4_;
GenLayer[] agenlayer = GenLayer.initializeAllBiomeGenerators(p_i45744_1_, p_i45744_3_, p_i45744_4_);
agenlayer = getModdedBiomeGenerators(p_i45744_3_, p_i45744_1_, agenlayer);
this.genBiomes = agenlayer[0];
this.biomeIndexLayer = agenlayer[1];
}public WorldChunkManagerFrightful(World worldIn)
{
this(worldIn.getSeed(), worldIn.getWorldInfo().getTerrainType(), worldIn.getWorldInfo().getGeneratorOptions());
}
par
java
public WorldChunkManagerFrightful(long p_i45744_1_, WorldType p_i45744_3_, long p_i45744_4_)
{
this();
GenLayer[] agenlayer = GenLayerFrightful.makeTheWorld(p_i45744_1_);
this.genBiomes = agenlayer[0];
this.biomeIndexLayer = agenlayer[1];
}public WorldChunkManagerFrightful(World worldIn)
{
this(worldIn.getSeed(), worldIn.getWorldInfo().getTerrainType(), worldIn.getActualHeight());
}
et dans le WorldProvider, d'ajuter les paramètres quand on appelle le WorldChuinkManager :
java
this.worldChunkMgr = new WorldChunkManagerFrightful(worldObj.getSeed(), terrainType, dimensionId); -
Pour le portail de sortie, il faut voir le code de ton portail et ton Teleporter. Pour le monde plat, c’est normal (mais tu dois pouvoir le changer).