Jump to content

[1.7.2][Solved]Getting all items and checking if player is in void?


Nimbleguy

Recommended Posts

How would I get all items "alive?" I need to check if there are items in the void, then get item info and do stuff with it, but I do not know how to get all EntityItems in the world. I tried this code, but it did not work:

TickListner(Method 1):

 

 

@SubscribeEvent

public void itemDrop(ItemTossEvent e) {

System.out.println("Item Dropped");

if (e.entityItem.dimension == VoidMod.NullVoidDimID) {

System.out.println("In Void");

this.itemDropped = e.entityItem;

System.out.println(itemDropped);

}

}

 

 

TickListner(Method 2):

 

 

@SubscribeEvent

public void onTick(TickEvent.ServerTickEvent event) {

// System.out.println("OnTick");

String[] pls = MinecraftServer.getServer().getConfigurationManager()

.getAllUsernames();

EntityPlayerMP p;

for (int i = 0; i < pls.length; i++) {

p = MinecraftServer.getServer().getConfigurationManager()

.getPlayerForUsername(pls);

if (p != null) {

// System.out.println("Got a ticked player");

if (p.posY <= 0) {

// System.out.println("In the void!");

if (p.dimension == VoidMod.NullVoidDimID) {

p.setLocationAndAngles(p.posX, 256, p.posZ,

p.cameraYaw, p.cameraPitch);

}

p.addStat(VoidMod.fallVoid, 1);

}

if (p.dimension == VoidMod.NullVoidDimID) {

p.clearActivePotions();

}

}

}

World w;

Double x;

Double z;

System.out.println(itemDropped);

if (itemDropped != null) {

System.out.println("Not Null");

if (itemDropped.posY <= 0) {

System.out.println("In Void");

if (itemDropped.getEntityItem().getItem()

.equals(VoidMod.nullVoidAlloy)) {

System.out.println("Is Alloy");

w = itemDropped.worldObj;

x = itemDropped.posX;

z = itemDropped.posZ;

itemDropped.setDead();

itemDropped = null;

w.spawnEntityInWorld(new EntityItem(w, x, 200D, z,

new ItemStack(VoidMod.corruptAlloy)));

}

}

}

 

// WorldProviderNullVoid.getProviderForDimension(VoidMod.NullVoidDimID).setWorldTime(13000);

}

 

 

I am also having trouble with checking if the player has fallen into the void, it is the same code(In method 2) It is giving me the achievement but not teleporting me.

Link to comment
Share on other sites

  if (e.entityItem.dimension == VoidMod.NullVoidDimID)

 

Why are you checking the dimension? The item you need would be in the world where it created...

and you have to edit the teleporting code if you want to teleport the player.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Link to comment
Share on other sites

First how are you getting sent to your dimension.

Second

 p = MinecraftServer.getServer().getConfigurationManager().getPlayerForUsername(pls);

should be

         p = MinecraftServer.getServer().getConfigurationManager().getPlayerForUsername(pls[i]);

.

Third

 if (itemDropped.getEntityItem().getItem().equals(VoidMod.nullVoidAlloy))

should be

 if (itemDropped.getEntityItem().getItem() instanceof ItemNullVoidAlloy))

Link to comment
Share on other sites

I do not know why in the code I posted it says str, in my actual code it says str. Also, I have found that equals works in another case. My problem is that it is not recognizing it is in the void. Also I have a block that teleports you into my dimension, but my code is not able to recognize any item past y level 0, which is what I want to do.

Code:

TickListner:

 

 

package aj.Java.Nullvoid.Listners;

 

import java.awt.Color;

import java.util.List;

import java.util.Random;

 

import aj.Java.Nullvoid.VoidMod;

import baubles.api.BaublesApi;

import net.minecraft.client.Minecraft;

import net.minecraft.entity.item.EntityItem;

import net.minecraft.entity.player.EntityPlayerMP;

import net.minecraft.item.ItemStack;

import net.minecraft.potion.Potion;

import net.minecraft.potion.PotionEffect;

import net.minecraft.server.MinecraftServer;

import net.minecraft.world.World;

import net.minecraftforge.client.event.RenderGameOverlayEvent;

import net.minecraftforge.client.event.TextureStitchEvent;

import net.minecraftforge.event.entity.item.ItemTossEvent;

import cpw.mods.fml.common.eventhandler.SubscribeEvent;

import cpw.mods.fml.common.gameevent.PlayerEvent.ItemCraftedEvent;

import cpw.mods.fml.common.gameevent.TickEvent;

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

 

public class TickListner {

private World world;

@SubscribeEvent

public void onTick(TickEvent.ServerTickEvent event) {

// System.out.println("OnTick");

String[] pls = MinecraftServer.getServer().getConfigurationManager()

.getAllUsernames();

EntityPlayerMP p;

for (int i = 0; i < pls.length; i++) {

p = MinecraftServer.getServer().getConfigurationManager()

.getPlayerForUsername(pls);

if (p != null) {

// System.out.println("Got a ticked player");

if (p.posY <= 0) {

// System.out.println("In the void!");

if (p.dimension == VoidMod.NullVoidDimID) {

p.setLocationAndAngles(p.posX, 256, p.posZ,

p.cameraYaw, p.cameraPitch);

}

p.addStat(VoidMod.fallVoid, 1);

}

if (p.dimension == VoidMod.NullVoidDimID) {

if(p.inventory.getCurrentItem() == null){

p.clearActivePotions();

}

else{

if(!p.inventory.getCurrentItem().getItem().equals(VoidMod.baneOfDark)){

p.clearActivePotions();

}

else{

p.addPotionEffect(new PotionEffect(Potion.nightVision.id, 140, 10));

}

}

}

}

}

if(world != null){

@SuppressWarnings("rawtypes")

List l = world.loadedEntityList;

for(int i = 0; i < l.size(); i++){

if(l.get(i) != null){

if(l.get(i) instanceof EntityItem){

System.out.println("Not Null");

EntityItem item = (EntityItem)l.get(i);

if (item.posY <= 0) {

System.out.println("In Void");

if (item.getEntityItem().getItem()

.equals(VoidMod.nullVoidAlloy)) {

System.out.println("Is Alloy");

world.spawnEntityInWorld(new EntityItem(world, item.posX, 200D, item.posZ,

new ItemStack(VoidMod.corruptAlloy)));

}

}

}

}

}

}

 

// WorldProviderNullVoid.getProviderForDimension(VoidMod.NullVoidDimID).setWorldTime(13000);

}

 

@SubscribeEvent

@SideOnly(Side.CLIENT)

public void clientTick(TickEvent.ClientTickEvent event) {

if (Minecraft.getMinecraft().thePlayer != null) {

if (Minecraft.getMinecraft().thePlayer.dimension == VoidMod.NullVoidDimID) {

if(Minecraft.getMinecraft().thePlayer.inventory.getCurrentItem() != null){

if(Minecraft.getMinecraft().thePlayer.inventory.getCurrentItem().getItem().equals(VoidMod.baneOfDark)){

Minecraft.getMinecraft().gameSettings.gammaSetting = 1F;

}

else{

Minecraft.getMinecraft().gameSettings.gammaSetting = -1F;

}

}

else{

Minecraft.getMinecraft().gameSettings.gammaSetting = -1F;

}

} else {

if (Minecraft.getMinecraft().gameSettings.gammaSetting == -1F) {

Minecraft.getMinecraft().gameSettings.gammaSetting = Minecraft

.getMinecraft().thePlayer.getEntityData().getFloat(

"NullGamma");

}

}

}

}

 

@SideOnly(Side.CLIENT)

@SubscribeEvent

public void texturePreStitch(TextureStitchEvent.Pre event) {

if (event.map.getTextureType() == 0) {

event.map.setTextureEntry("nullvoid:nullOre", VoidMod.texNullOre);

}

}

 

@SideOnly(Side.CLIENT)

@SubscribeEvent

public void renderGlitch(RenderGameOverlayEvent event) {

if (VoidMod.glitchAmulet != null

&& Minecraft.getMinecraft().thePlayer != null) {

if (BaublesApi.getBaubles(Minecraft.getMinecraft().thePlayer)

.getStackInSlot(0) != null) {

if (!BaublesApi.getBaubles(Minecraft.getMinecraft().thePlayer)

.getStackInSlot(0)

.isItemEqual(new ItemStack(VoidMod.glitchAmulet))) {

glitch();

}

} else {

glitch();

}

}

}

 

@SubscribeEvent

public void crafted(ItemCraftedEvent event) {

if (event.crafting.getItem().equals(VoidMod.nullGoggles)) {

event.player.addStat(VoidMod.craftGoggle, 1);

}

}

 

@SubscribeEvent

public void itemDrop(ItemTossEvent e) {

System.out.println("Item Dropped");

if (e.entityItem.dimension == VoidMod.NullVoidDimID) {

System.out.println("In Void");

this.world = e.entityItem.worldObj;

}

}

 

private String getLetter() {

switch (new Random().nextInt(26)) {

case 0:

return "A";

case 1:

return "B";

case 2:

return "C";

case 3:

return "D";

case 4:

return "E";

case 5:

return "F";

case 6:

return "G";

case 7:

return "H";

case 8:

return "I";

case 9:

return "J";

case 10:

return "K";

case 11:

return "L";

case 12:

return "M";

case 13:

return "N";

case 14:

return "O";

case 15:

return "P";

case 16:

return "Q";

case 17:

return "R";

case 18:

return "S";

case 19:

return "T";

case 20:

return "U";

case 21:

return "V";

case 22:

return "W";

case 23:

return "X";

case 24:

return "Y";

case 25:

return "Z";

}

return null;

}

 

private void glitch() {

if (Minecraft.getMinecraft().thePlayer.dimension == VoidMod.NullVoidDimID) {

if (Minecraft.getMinecraft().thePlayer.posX < 10

&& Minecraft.getMinecraft().thePlayer.posX > -10

&& Minecraft.getMinecraft().thePlayer.posZ < 10

&& Minecraft.getMinecraft().thePlayer.posZ > -10) {

for (int i = 0; i < 10000; i++) {

Minecraft.getMinecraft().fontRenderer

.drawString(getLetter(),

new Random().nextInt(Minecraft

.getMinecraft().displayWidth),

new Random().nextInt(Minecraft

.getMinecraft().displayWidth),

new Color(new Random().nextFloat(),

new Random().nextFloat(),

new Random().nextFloat()).getRGB());

}

} else if (Minecraft.getMinecraft().thePlayer.posX < 50

&& Minecraft.getMinecraft().thePlayer.posX > -50

&& Minecraft.getMinecraft().thePlayer.posZ < 50

&& Minecraft.getMinecraft().thePlayer.posZ > -50) {

for (int i = 0; i < 1000; i++) {

Minecraft.getMinecraft().fontRenderer

.drawString(getLetter(),

new Random().nextInt(Minecraft

.getMinecraft().displayWidth),

new Random().nextInt(Minecraft

.getMinecraft().displayWidth),

new Color(new Random().nextFloat(),

new Random().nextFloat(),

new Random().nextFloat()).getRGB());

}

} else if (Minecraft.getMinecraft().thePlayer.posX < 100

&& Minecraft.getMinecraft().thePlayer.posX > -100

&& Minecraft.getMinecraft().thePlayer.posZ < 100

&& Minecraft.getMinecraft().thePlayer.posZ > -100) {

for (int i = 0; i < 100; i++) {

Minecraft.getMinecraft().fontRenderer

.drawString(getLetter(),

new Random().nextInt(Minecraft

.getMinecraft().displayWidth),

new Random().nextInt(Minecraft

.getMinecraft().displayWidth),

new Color(new Random().nextFloat(),

new Random().nextFloat(),

new Random().nextFloat()).getRGB());

}

} else {

Minecraft.getMinecraft().fontRenderer

.drawString(

getLetter(),

new Random().nextInt(Minecraft.getMinecraft().displayWidth),

new Random().nextInt(Minecraft.getMinecraft().displayWidth),

new Color(new Random().nextFloat(),

new Random().nextFloat(), new Random()

.nextFloat()).getRGB());

}

}

}

}

 

 

Link to comment
Share on other sites

The tick listener is registered in both event bus things, and I am trying to teleport the item to x 256 in the dimension if they are in the dimension and under y 0. I have a separate method for getting in the dimension. I think I have a problem with getting the world, because there are no entries in world.loadedEntityList and the player one is detecting properly.

Link to comment
Share on other sites

Ok then. I just solved it by looping through all the worlds in MinecraftServer.getServer().worldServers and using those.

TickListner:

 

 

package aj.Java.Nullvoid.Listners;

 

import java.awt.Color;

import java.util.List;

import java.util.Random;

 

import aj.Java.Nullvoid.VoidMod;

import baubles.api.BaublesApi;

import net.minecraft.client.Minecraft;

import net.minecraft.entity.item.EntityItem;

import net.minecraft.entity.player.EntityPlayerMP;

import net.minecraft.item.ItemStack;

import net.minecraft.server.MinecraftServer;

import net.minecraft.world.World;

import net.minecraftforge.client.event.RenderGameOverlayEvent;

import net.minecraftforge.client.event.TextureStitchEvent;

import cpw.mods.fml.common.eventhandler.SubscribeEvent;

import cpw.mods.fml.common.gameevent.PlayerEvent.ItemCraftedEvent;

import cpw.mods.fml.common.gameevent.TickEvent;

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

 

public class TickListner {

@SubscribeEvent

public void onTick(TickEvent.ServerTickEvent event) {

// System.out.println("OnTick");

String[] pls = MinecraftServer.getServer().getConfigurationManager()

.getAllUsernames();

EntityPlayerMP p;

for (int i = 0; i < pls.length; i++) {

p = MinecraftServer.getServer().getConfigurationManager()

.getPlayerForUsername(pls);

if (p != null) {

// System.out.println("Got a ticked player");

// System.out.println(p.posY);

if (p.posY < 0.01D) {

System.out.println("In the void!");

if (p.dimension == VoidMod.NullVoidDimID) {

p.setLocationAndAngles(p.posX, 256, p.posZ,

p.cameraYaw, p.cameraPitch);

}

p.addStat(VoidMod.fallVoid, 1);

}

if (p.dimension == VoidMod.NullVoidDimID) {

if (p.inventory.getCurrentItem() == null) {

p.clearActivePotions();

}

}

}

}

World world;

for (int ii = 0; ii < MinecraftServer.getServer().worldServers.length; ii++) {

world = MinecraftServer.getServer().worldServers[ii];

if (world != null) {

@SuppressWarnings("rawtypes")

List l = world.loadedEntityList;

for (int i = 0; i < l.size(); i++) {

if (l.get(i) != null) {

if (l.get(i) instanceof EntityItem) {

System.out.println("Not Null");

EntityItem item = (EntityItem) l.get(i);

if (item.posY < 1D) {

System.out.println("In Void");

if (item.getEntityItem().getItem()

.equals(VoidMod.nullVoidAlloy)) {

System.out.println("Is Alloy");

world.spawnEntityInWorld(new EntityItem(

world, item.posX, 200D, item.posZ,

new ItemStack(VoidMod.corruptAlloy, 1)));

}

}

}

}

}

}

}

 

// WorldProviderNullVoid.getProviderForDimension(VoidMod.NullVoidDimID).setWorldTime(13000);

}

 

@SubscribeEvent

@SideOnly(Side.CLIENT)

public void clientTick(TickEvent.ClientTickEvent event) {

if (Minecraft.getMinecraft().thePlayer != null) {

if (Minecraft.getMinecraft().thePlayer.dimension == VoidMod.NullVoidDimID) {

if (Minecraft.getMinecraft().thePlayer.inventory

.getCurrentItem() != null) {

if (Minecraft.getMinecraft().thePlayer.inventory

.getCurrentItem().getItem()

.equals(VoidMod.baneOfDark)) {

Minecraft.getMinecraft().gameSettings.gammaSetting = 1F;

} else {

Minecraft.getMinecraft().gameSettings.gammaSetting = -1F;

}

} else {

Minecraft.getMinecraft().gameSettings.gammaSetting = -1F;

}

} else {

if (Minecraft.getMinecraft().gameSettings.gammaSetting == -1F) {

Minecraft.getMinecraft().gameSettings.gammaSetting = Minecraft

.getMinecraft().thePlayer.getEntityData().getFloat(

"NullGamma");

}

}

}

}

 

@SideOnly(Side.CLIENT)

@SubscribeEvent

public void texturePreStitch(TextureStitchEvent.Pre event) {

if (event.map.getTextureType() == 0) {

event.map.setTextureEntry("nullvoid:nullOre", VoidMod.texNullOre);

}

}

 

@SideOnly(Side.CLIENT)

@SubscribeEvent

public void renderGlitch(RenderGameOverlayEvent event) {

if (VoidMod.glitchAmulet != null

&& Minecraft.getMinecraft().thePlayer != null) {

if (BaublesApi.getBaubles(Minecraft.getMinecraft().thePlayer)

.getStackInSlot(0) != null) {

if (!BaublesApi.getBaubles(Minecraft.getMinecraft().thePlayer)

.getStackInSlot(0)

.isItemEqual(new ItemStack(VoidMod.glitchAmulet))) {

glitch();

}

} else {

glitch();

}

}

}

 

@SubscribeEvent

public void crafted(ItemCraftedEvent event) {

if (event.crafting.getItem().equals(VoidMod.nullGoggles)) {

event.player.addStat(VoidMod.craftGoggle, 1);

}

}

 

private String getLetter() {

switch (new Random().nextInt(26)) {

case 0:

return "A";

case 1:

return "B";

case 2:

return "C";

case 3:

return "D";

case 4:

return "E";

case 5:

return "F";

case 6:

return "G";

case 7:

return "H";

case 8:

return "I";

case 9:

return "J";

case 10:

return "K";

case 11:

return "L";

case 12:

return "M";

case 13:

return "N";

case 14:

return "O";

case 15:

return "P";

case 16:

return "Q";

case 17:

return "R";

case 18:

return "S";

case 19:

return "T";

case 20:

return "U";

case 21:

return "V";

case 22:

return "W";

case 23:

return "X";

case 24:

return "Y";

case 25:

return "Z";

}

return null;

}

 

private void glitch() {

if (Minecraft.getMinecraft().thePlayer.dimension == VoidMod.NullVoidDimID) {

if (Minecraft.getMinecraft().thePlayer.posX < 10

&& Minecraft.getMinecraft().thePlayer.posX > -10

&& Minecraft.getMinecraft().thePlayer.posZ < 10

&& Minecraft.getMinecraft().thePlayer.posZ > -10) {

for (int i = 0; i < 10000; i++) {

Minecraft.getMinecraft().fontRenderer

.drawString(getLetter(),

new Random().nextInt(Minecraft

.getMinecraft().displayWidth),

new Random().nextInt(Minecraft

.getMinecraft().displayWidth),

new Color(new Random().nextFloat(),

new Random().nextFloat(),

new Random().nextFloat()).getRGB());

}

} else if (Minecraft.getMinecraft().thePlayer.posX < 50

&& Minecraft.getMinecraft().thePlayer.posX > -50

&& Minecraft.getMinecraft().thePlayer.posZ < 50

&& Minecraft.getMinecraft().thePlayer.posZ > -50) {

for (int i = 0; i < 1000; i++) {

Minecraft.getMinecraft().fontRenderer

.drawString(getLetter(),

new Random().nextInt(Minecraft

.getMinecraft().displayWidth),

new Random().nextInt(Minecraft

.getMinecraft().displayWidth),

new Color(new Random().nextFloat(),

new Random().nextFloat(),

new Random().nextFloat()).getRGB());

}

} else if (Minecraft.getMinecraft().thePlayer.posX < 100

&& Minecraft.getMinecraft().thePlayer.posX > -100

&& Minecraft.getMinecraft().thePlayer.posZ < 100

&& Minecraft.getMinecraft().thePlayer.posZ > -100) {

for (int i = 0; i < 100; i++) {

Minecraft.getMinecraft().fontRenderer

.drawString(getLetter(),

new Random().nextInt(Minecraft

.getMinecraft().displayWidth),

new Random().nextInt(Minecraft

.getMinecraft().displayWidth),

new Color(new Random().nextFloat(),

new Random().nextFloat(),

new Random().nextFloat()).getRGB());

}

} else {

Minecraft.getMinecraft().fontRenderer

.drawString(

getLetter(),

new Random().nextInt(Minecraft.getMinecraft().displayWidth),

new Random().nextInt(Minecraft.getMinecraft().displayWidth),

new Color(new Random().nextFloat(),

new Random().nextFloat(), new Random()

.nextFloat()).getRGB());

}

}

}

}

 

 

Link to comment
Share on other sites

Ok, I edited to your comments, but I need to set the player's gamma to one previously set, and I want to to retain across minecraft closings. How would I do that? I think packets but I do not know how to use them at all. Thanks for helping me fix my code :).

Revised TickListner:

 

 

package aj.Java.Nullvoid.Listners;

 

import java.awt.Color;

import java.util.Random;

 

import aj.Java.Nullvoid.VoidMod;

import baubles.api.BaublesApi;

import net.minecraft.client.Minecraft;

import net.minecraft.entity.player.EntityPlayer;

import net.minecraft.item.ItemStack;

import net.minecraftforge.client.event.RenderGameOverlayEvent;

import net.minecraftforge.client.event.TextureStitchEvent;

import cpw.mods.fml.common.eventhandler.SubscribeEvent;

import cpw.mods.fml.common.gameevent.PlayerEvent.ItemCraftedEvent;

import cpw.mods.fml.common.gameevent.TickEvent;

import cpw.mods.fml.common.gameevent.TickEvent.PlayerTickEvent;

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

 

public class TickListner {

private Minecraft m = Minecraft.getMinecraft();

private Random r = new Random();

@SubscribeEvent

public void playerTick(PlayerTickEvent event){

EntityPlayer p = event.player;

if (p != null) {

// System.out.println("Got a ticked player");

// System.out.println(p.posY);

if (p.posY < 0.01D) {

System.out.println("In the void!");

if (p.dimension == VoidMod.NullVoidDimID) {

p.setLocationAndAngles(p.posX, 256, p.posZ,

p.cameraYaw, p.cameraPitch);

}

p.addStat(VoidMod.fallVoid, 1);

}

if (p.dimension == VoidMod.NullVoidDimID) {

if (p.inventory.getCurrentItem() == null) {

p.clearActivePotions();

}

}

}

}

 

@SubscribeEvent

@SideOnly(Side.CLIENT)

public void clientTick(TickEvent.ClientTickEvent event) {

if (m.thePlayer != null) {

if (m.thePlayer.dimension == VoidMod.NullVoidDimID) {

if (m.thePlayer.inventory

.getCurrentItem() != null) {

if (m.thePlayer.inventory

.getCurrentItem().getItem()

.equals(VoidMod.baneOfDark)) {

m.gameSettings.gammaSetting = 1F;

} else {

m.gameSettings.gammaSetting = -1F;

}

} else {

m.gameSettings.gammaSetting = -1F;

}

} else {

if (m.gameSettings.gammaSetting == -1F) {

m.gameSettings.gammaSetting = Minecraft

.getMinecraft().thePlayer.getEntityData().getFloat(

"NullGamma");

}

}

}

}

 

@SideOnly(Side.CLIENT)

@SubscribeEvent

public void texturePreStitch(TextureStitchEvent.Pre event) {

if (event.map.getTextureType() == 0) {

event.map.setTextureEntry("nullvoid:nullOre", VoidMod.texNullOre);

}

}

 

@SideOnly(Side.CLIENT)

@SubscribeEvent

public void renderGlitch(RenderGameOverlayEvent event) {

if (VoidMod.glitchAmulet != null

&& m.thePlayer != null) {

if (BaublesApi.getBaubles(m.thePlayer)

.getStackInSlot(0) != null) {

if (!BaublesApi.getBaubles(m.thePlayer)

.getStackInSlot(0)

.isItemEqual(new ItemStack(VoidMod.glitchAmulet))) {

glitch();

}

} else {

glitch();

}

}

}

 

@SubscribeEvent

public void crafted(ItemCraftedEvent event) {

if (event.crafting.getItem().equals(VoidMod.nullGoggles)) {

event.player.addStat(VoidMod.craftGoggle, 1);

}

}

 

private String getLetter() {

return String.valueOf(Character.toChars(r.nextInt(93) + 33));

}

 

private void glitch() {

if (m.thePlayer.dimension == VoidMod.NullVoidDimID) {

if (m.thePlayer.posX < 10

&& m.thePlayer.posX > -10

&& m.thePlayer.posZ < 10

&& m.thePlayer.posZ > -10) {

for (int i = 0; i < 10000; i++) {

m.fontRenderer

.drawString(getLetter(),

r.nextInt(m.displayWidth),

r.nextInt(m.displayWidth),

new Color(r.nextFloat(),

r.nextFloat(),

r.nextFloat()).getRGB());

}

} else if (m.thePlayer.posX < 50

&& m.thePlayer.posX > -50

&& m.thePlayer.posZ < 50

&& m.thePlayer.posZ > -50) {

for (int i = 0; i < 1000; i++) {

m.fontRenderer

.drawString(getLetter(),

r.nextInt(m.displayWidth),

r.nextInt(m.displayWidth),

new Color(r.nextFloat(),

r.nextFloat(),

r.nextFloat()).getRGB());

}

} else if (m.thePlayer.posX < 100

&& m.thePlayer.posX > -100

&& m.thePlayer.posZ < 100

&& m.thePlayer.posZ > -100) {

for (int i = 0; i < 100; i++) {

m.fontRenderer

.drawString(getLetter(),

r.nextInt(m.displayWidth),

r.nextInt(m.displayWidth),

new Color(r.nextFloat(),

r.nextFloat(),

r.nextFloat()).getRGB());

}

} else {

m.fontRenderer

.drawString(

getLetter(),

r.nextInt(m.displayWidth),

r.nextInt(m.displayHeight),

new Color(r.nextFloat(),

r.nextFloat(), r

.nextFloat()).getRGB());

}

}

}

}

 

 

Link to comment
Share on other sites

Ok, Thanks.

I am trying to change the player's gamma to -1F when they enter a dimension and revert it to their previous gamma when they exit. I already have it saving their gamma somewhere else, but I also need to revert it and make sure it is enforced if something does not work.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • TileEntity Same issue with java 17.0.1.12.1 , 17.0.8 and 21.0.3
    • Read the error - it tells you how to fix it "Current Java is 1.8.0_271 but we require at least 17" You need Java 17, you're currently using Java 8
    • Exception in thread "main" java.lang.IllegalStateException: Current Java is 1.8.0_271 but we require at least 17         at net.minecraftforge.bootstrap.shim.Main.main(Main.java:32) Never have successfully gotten a minecraft server up and running so I thought i'd try again. Instant unfixable issue.  
    • the block is engineer's workbench and crash when I put a blue print on it, now I dont have access to my world  
    • ---- Minecraft Crash Report ---- // Don't do that. Time: 25/4/24 12:53 Description: Rendering Block Entity java.lang.IllegalStateException: Not filled all elements of the vertex     at com.mojang.blaze3d.vertex.BufferBuilder.m_5752_(BufferBuilder.java:435) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:computing_frames,xf:OptiFine:default,re:mixin,xf:OptiFine:default,re:classloading,xf:OptiFine:default,pl:mixin:APP:flywheel.mixins.json:BufferBuilderMixin,pl:mixin:A}     at blusunrize.immersiveengineering.client.utils.TransformingVertexBuilder.m_5752_(TransformingVertexBuilder.java:135) ~[ImmersiveEngineering-1.18.2-8.4.0-161.jar%2364!/:?] {re:classloading}     at blusunrize.immersiveengineering.client.render.tile.BlueprintRenderer.lambda$makeQuadLinePainter$0(BlueprintRenderer.java:210) ~[ImmersiveEngineering-1.18.2-8.4.0-161.jar%2364!/:?] {re:classloading}     at blusunrize.immersiveengineering.client.render.tile.BlueprintRenderer$BlueprintLines.draw(BlueprintRenderer.java:256) ~[ImmersiveEngineering-1.18.2-8.4.0-161.jar%2364!/:?] {re:classloading}     at blusunrize.immersiveengineering.client.render.tile.ModWorkbenchRenderer.lambda$buildVBO$0(ModWorkbenchRenderer.java:159) ~[ImmersiveEngineering-1.18.2-8.4.0-161.jar%2364!/:?] {re:classloading}     at blusunrize.immersiveengineering.client.utils.VertexBufferHolder.renderToBuilder(VertexBufferHolder.java:130) ~[ImmersiveEngineering-1.18.2-8.4.0-161.jar%2364!/:?] {re:mixin,re:classloading}     at blusunrize.immersiveengineering.client.utils.VertexBufferHolder.render(VertexBufferHolder.java:116) ~[ImmersiveEngineering-1.18.2-8.4.0-161.jar%2364!/:?] {re:mixin,re:classloading}     at blusunrize.immersiveengineering.api.client.IVertexBufferHolder.render(IVertexBufferHolder.java:58) ~[ImmersiveEngineering-1.18.2-8.4.0-161.jar%2364!/:?] {re:mixin,re:classloading}     at blusunrize.immersiveengineering.client.render.tile.ModWorkbenchRenderer.render(ModWorkbenchRenderer.java:61) ~[ImmersiveEngineering-1.18.2-8.4.0-161.jar%2364!/:?] {re:classloading}     at blusunrize.immersiveengineering.client.render.tile.ModWorkbenchRenderer.m_6922_(ModWorkbenchRenderer.java:31) ~[ImmersiveEngineering-1.18.2-8.4.0-161.jar%2364!/:?] {re:classloading}     at net.minecraft.client.renderer.blockentity.BlockEntityRenderDispatcher.m_112284_(BlockEntityRenderDispatcher.java:107) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:flywheel.mixins.json:BlockEntityRenderDispatcherAccessor,pl:mixin:A}     at net.minecraft.client.renderer.blockentity.BlockEntityRenderDispatcher.lambda$renderTileEntity$0(BlockEntityRenderDispatcher.java:79) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:flywheel.mixins.json:BlockEntityRenderDispatcherAccessor,pl:mixin:A}     at net.minecraft.client.renderer.blockentity.BlockEntityRenderDispatcher.m_112278_(BlockEntityRenderDispatcher.java:154) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:flywheel.mixins.json:BlockEntityRenderDispatcherAccessor,pl:mixin:A}     at net.minecraft.client.renderer.blockentity.BlockEntityRenderDispatcher.m_112267_(BlockEntityRenderDispatcher.java:77) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:flywheel.mixins.json:BlockEntityRenderDispatcherAccessor,pl:mixin:A}     at net.minecraft.client.renderer.LevelRenderer.m_109599_(LevelRenderer.java:1930) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.WorldRendererAccess,pl:mixin:APP:immersiveengineering.mixins.json:coremods.client.LevelRendererMixin,pl:mixin:APP:flywheel.mixins.json:LevelRendererAccessor,pl:mixin:APP:flywheel.mixins.json:fix.FixFabulousDepthMixin,pl:mixin:APP:flywheel.mixins.json:instancemanage.InstanceUpdateMixin,pl:mixin:APP:citadel.mixins.json:client.WorldRendererMixin,pl:mixin:APP:create.mixins.json:client.LevelRendererMixin,pl:mixin:APP:flywheel.mixins.json:LevelRendererMixin,pl:mixin:A}     at net.minecraft.client.renderer.GameRenderer.m_109089_(GameRenderer.java:1569) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:create.mixins.json:accessor.GameRendererAccessor,pl:mixin:APP:create.mixins.json:client.GameRendererMixin,pl:mixin:A}     at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:1185) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:create.mixins.json:accessor.GameRendererAccessor,pl:mixin:APP:create.mixins.json:client.GameRendererMixin,pl:mixin:A}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1046) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:create.mixins.json:client.WindowResizeMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:665) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:create.mixins.json:client.WindowResizeMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:classloading,re:mixin,pl:runtimedistcleaner:A,pl:mixin:A,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:31) ~[fmlloader-1.18.2-40.2.18.jar%2318!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace:     at com.mojang.blaze3d.vertex.BufferBuilder.m_5752_(BufferBuilder.java:435) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:computing_frames,xf:OptiFine:default,re:mixin,xf:OptiFine:default,re:classloading,xf:OptiFine:default,pl:mixin:APP:flywheel.mixins.json:BufferBuilderMixin,pl:mixin:A}     at blusunrize.immersiveengineering.client.utils.TransformingVertexBuilder.m_5752_(TransformingVertexBuilder.java:135) ~[ImmersiveEngineering-1.18.2-8.4.0-161.jar%2364!/:?] {re:classloading}     at blusunrize.immersiveengineering.client.render.tile.BlueprintRenderer.lambda$makeQuadLinePainter$0(BlueprintRenderer.java:210) ~[ImmersiveEngineering-1.18.2-8.4.0-161.jar%2364!/:?] {re:classloading}     at blusunrize.immersiveengineering.client.render.tile.BlueprintRenderer$BlueprintLines.draw(BlueprintRenderer.java:256) ~[ImmersiveEngineering-1.18.2-8.4.0-161.jar%2364!/:?] {re:classloading}     at blusunrize.immersiveengineering.client.render.tile.ModWorkbenchRenderer.lambda$buildVBO$0(ModWorkbenchRenderer.java:159) ~[ImmersiveEngineering-1.18.2-8.4.0-161.jar%2364!/:?] {re:classloading}     at blusunrize.immersiveengineering.client.utils.VertexBufferHolder.renderToBuilder(VertexBufferHolder.java:130) ~[ImmersiveEngineering-1.18.2-8.4.0-161.jar%2364!/:?] {re:mixin,re:classloading}     at blusunrize.immersiveengineering.client.utils.VertexBufferHolder.render(VertexBufferHolder.java:116) ~[ImmersiveEngineering-1.18.2-8.4.0-161.jar%2364!/:?] {re:mixin,re:classloading}     at blusunrize.immersiveengineering.api.client.IVertexBufferHolder.render(IVertexBufferHolder.java:58) ~[ImmersiveEngineering-1.18.2-8.4.0-161.jar%2364!/:?] {re:mixin,re:classloading}     at blusunrize.immersiveengineering.client.render.tile.ModWorkbenchRenderer.render(ModWorkbenchRenderer.java:61) ~[ImmersiveEngineering-1.18.2-8.4.0-161.jar%2364!/:?] {re:classloading}     at blusunrize.immersiveengineering.client.render.tile.ModWorkbenchRenderer.m_6922_(ModWorkbenchRenderer.java:31) ~[ImmersiveEngineering-1.18.2-8.4.0-161.jar%2364!/:?] {re:classloading}     at net.minecraft.client.renderer.blockentity.BlockEntityRenderDispatcher.m_112284_(BlockEntityRenderDispatcher.java:107) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:flywheel.mixins.json:BlockEntityRenderDispatcherAccessor,pl:mixin:A}     at net.minecraft.client.renderer.blockentity.BlockEntityRenderDispatcher.lambda$renderTileEntity$0(BlockEntityRenderDispatcher.java:79) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:flywheel.mixins.json:BlockEntityRenderDispatcherAccessor,pl:mixin:A}     at net.minecraft.client.renderer.blockentity.BlockEntityRenderDispatcher.m_112278_(BlockEntityRenderDispatcher.java:154) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:flywheel.mixins.json:BlockEntityRenderDispatcherAccessor,pl:mixin:A}     at net.minecraft.client.renderer.blockentity.BlockEntityRenderDispatcher.m_112267_(BlockEntityRenderDispatcher.java:77) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:flywheel.mixins.json:BlockEntityRenderDispatcherAccessor,pl:mixin:A}     at net.minecraft.client.renderer.LevelRenderer.m_109599_(LevelRenderer.java:1930) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.WorldRendererAccess,pl:mixin:APP:immersiveengineering.mixins.json:coremods.client.LevelRendererMixin,pl:mixin:APP:flywheel.mixins.json:LevelRendererAccessor,pl:mixin:APP:flywheel.mixins.json:fix.FixFabulousDepthMixin,pl:mixin:APP:flywheel.mixins.json:instancemanage.InstanceUpdateMixin,pl:mixin:APP:citadel.mixins.json:client.WorldRendererMixin,pl:mixin:APP:create.mixins.json:client.LevelRendererMixin,pl:mixin:APP:flywheel.mixins.json:LevelRendererMixin,pl:mixin:A}     at net.minecraft.client.renderer.GameRenderer.m_109089_(GameRenderer.java:1569) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:create.mixins.json:accessor.GameRendererAccessor,pl:mixin:APP:create.mixins.json:client.GameRendererMixin,pl:mixin:A} -- Block Entity Details -- Details:     Name: immersiveengineering:modworkbench // blusunrize.immersiveengineering.common.blocks.wooden.ModWorkbenchBlockEntity     Block: Block{immersiveengineering:workbench}[facing=south,multiblockslave=false,waterlogged=false]     Block location: World: (-2,-60,-7), Section: (at 14,4,9 in -1,-4,-1; chunk contains blocks -16,-64,-16 to -1,319,-1), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,-64,-512 to -1,319,-1)     Block: Block{immersiveengineering:workbench}[facing=south,multiblockslave=false,waterlogged=false]     Block location: World: (-2,-60,-7), Section: (at 14,4,9 in -1,-4,-1; chunk contains blocks -16,-64,-16 to -1,319,-1), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,-64,-512 to -1,319,-1) Stacktrace:     at net.minecraft.client.renderer.blockentity.BlockEntityRenderDispatcher.m_112278_(BlockEntityRenderDispatcher.java:154) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:flywheel.mixins.json:BlockEntityRenderDispatcherAccessor,pl:mixin:A}     at net.minecraft.client.renderer.blockentity.BlockEntityRenderDispatcher.m_112267_(BlockEntityRenderDispatcher.java:77) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:flywheel.mixins.json:BlockEntityRenderDispatcherAccessor,pl:mixin:A}     at net.minecraft.client.renderer.LevelRenderer.m_109599_(LevelRenderer.java:1930) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.WorldRendererAccess,pl:mixin:APP:immersiveengineering.mixins.json:coremods.client.LevelRendererMixin,pl:mixin:APP:flywheel.mixins.json:LevelRendererAccessor,pl:mixin:APP:flywheel.mixins.json:fix.FixFabulousDepthMixin,pl:mixin:APP:flywheel.mixins.json:instancemanage.InstanceUpdateMixin,pl:mixin:APP:citadel.mixins.json:client.WorldRendererMixin,pl:mixin:APP:create.mixins.json:client.LevelRendererMixin,pl:mixin:APP:flywheel.mixins.json:LevelRendererMixin,pl:mixin:A}     at net.minecraft.client.renderer.GameRenderer.m_109089_(GameRenderer.java:1569) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:create.mixins.json:accessor.GameRendererAccessor,pl:mixin:APP:create.mixins.json:client.GameRendererMixin,pl:mixin:A}     at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:1185) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:create.mixins.json:accessor.GameRendererAccessor,pl:mixin:APP:create.mixins.json:client.GameRendererMixin,pl:mixin:A}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1046) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:create.mixins.json:client.WindowResizeMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:665) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:create.mixins.json:client.WindowResizeMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:classloading,re:mixin,pl:runtimedistcleaner:A,pl:mixin:A,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:31) ~[fmlloader-1.18.2-40.2.18.jar%2318!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] {} -- Affected level -- Details:     All players: 1 total; [LocalPlayer['Kxzer'/102, l='ClientLevel', x=-2.77, y=-60.00, z=-8.63]]     Chunk stats: 4489, 2843     Level dimension: minecraft:overworld     Level spawn location: World: (0,-60,0), Section: (at 0,4,0 in 0,-4,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)     Level time: 33719 game time, 33719 day time     Server brand: forge     Server type: Integrated singleplayer server Stacktrace:     at net.minecraft.client.multiplayer.ClientLevel.m_6026_(ClientLevel.java:522) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,xf:OptiFine:default,re:classloading,xf:OptiFine:default,pl:mixin:APP:flywheel.mixins.json:ClientLevelMixin,pl:mixin:A}     at net.minecraft.client.Minecraft.m_91354_(Minecraft.java:2264) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:create.mixins.json:client.WindowResizeMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:682) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:create.mixins.json:client.WindowResizeMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:classloading,re:mixin,pl:runtimedistcleaner:A,pl:mixin:A,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:31) ~[fmlloader-1.18.2-40.2.18.jar%2318!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.3.jar%235!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] {} -- Last reload -- Details:     Reload number: 2     Reload reason: manual     Finished: Yes     Packs: Mod Resources, Default, Kxzer-Totem-pv9.zip, Create Legacy Copper -- System Details -- Details:     Minecraft Version: 1.18.2     Minecraft Version ID: 1.18.2     Operating System: Windows 10 (amd64) version 10.0     Java Version: 17.0.1, Microsoft     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft     Memory: 137598464 bytes (131 MiB) / 2147483648 bytes (2048 MiB) up to 2147483648 bytes (2048 MiB)     CPUs: 8     Processor Vendor: AuthenticAMD     Processor Name: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx       Identifier: AuthenticAMD Family 23 Model 24 Stepping 1     Microarchitecture: Zen / Zen+     Frequency (GHz): 2,10     Number of physical packages: 1     Number of physical CPUs: 4     Number of logical CPUs: 8     Graphics card #0 name: AMD Radeon(TM) Vega 8 Graphics     Graphics card #0 vendor: Advanced Micro Devices, Inc. (0x1002)     Graphics card #0 VRAM (MB): 2048,00     Graphics card #0 deviceId: 0x15d8     Graphics card #0 versionInfo: DriverVersion=31.0.14043.7000     Graphics card #1 name: Radeon RX 5500M     Graphics card #1 vendor: Advanced Micro Devices, Inc. (0x1002)     Graphics card #1 VRAM (MB): 4080,00     Graphics card #1 deviceId: 0x7340     Graphics card #1 versionInfo: DriverVersion=31.0.14043.7000     Memory slot #0 capacity (MB): 8192,00     Memory slot #0 clockSpeed (GHz): 2,67     Memory slot #0 type: DDR4     Memory slot #1 capacity (MB): 8192,00     Memory slot #1 clockSpeed (GHz): 2,67     Memory slot #1 type: DDR4     Virtual memory max (MB): 18605,84     Virtual memory used (MB): 14061,94     Swap memory total (MB): 4352,00     Swap memory used (MB): 445,66     JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     Launched Version: 1.18.2-forge-40.2.18     Backend library: LWJGL version 3.2.2 SNAPSHOT     Backend API: AMD Radeon(TM) Vega 8 Graphics  GL version 3.2.0 Core Profile Context 23.4.1.230326, ATI Technologies Inc.     Window size: 1920x1080     GL Caps: Using framebuffer using OpenGL 3.2     GL debug messages:      Using VBOs: Yes     Is Modded: Definitely; Client brand changed to 'forge'; Server brand changed to 'forge'     Type: Integrated Server (map_client.txt)     Graphics mode: fabulous     Resource Packs: mod_resources, vanilla, file/Kxzer-Totem-pv9.zip (incompatible), create:legacy_copper     Current Language: English (US)     CPU: 8x AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx      Server Running: true     Player Count: 1 / 8; [ServerPlayer['Kxzer'/102, l='ServerLevel[Mundo nuevo]', x=-2.77, y=-60.00, z=-8.63]]     Data Packs: vanilla, mod:tconstruct (incompatible), mod:farmersdelight, mod:dungeoncrawl, mod:immersivepetroleum (incompatible), mod:immersiveengineering, mod:forge, mod:expandability (incompatible), mod:curios (incompatible), mod:flywheel (incompatible), mod:mantle (incompatible), mod:create, mod:refinedstorage, mod:jei (incompatible), mod:citadel (incompatible), mod:cataclysm (incompatible), mod:storagedrawers (incompatible), mod:artifacts, mod:journeymap, mod:ctm (incompatible), mod:chipped (incompatible)     World Generation: Experimental     OptiFine Version: OptiFine_1.18.2_HD_U_H9     OptiFine Build: 20230626-134040     Render Distance Chunks: 30     Mipmaps: 4     Anisotropic Filtering: 1     Antialiasing: 0     Multitexture: false     Shaders: null     OpenGlVersion: 3.2.0 Core Profile Context 23.4.1.230326     OpenGlRenderer: AMD Radeon(TM) Vega 8 Graphics      OpenGlVendor: ATI Technologies Inc.     CpuCount: 8     ModLauncher: 9.1.3+9.1.3+main.9b69c82a     ModLauncher launch target: forgeclient     ModLauncher naming: srg     ModLauncher services:           mixin PLUGINSERVICE           eventbus PLUGINSERVICE           slf4jfixer PLUGINSERVICE           object_holder_definalize PLUGINSERVICE           runtime_enum_extender PLUGINSERVICE           capability_token_subclass PLUGINSERVICE           accesstransformer PLUGINSERVICE           runtimedistcleaner PLUGINSERVICE           mixin TRANSFORMATIONSERVICE           OptiFine TRANSFORMATIONSERVICE           fml TRANSFORMATIONSERVICE      FML Language Providers:          [email protected]         lowcodefml@null         javafml@null     Mod List:          client-1.18.2-20220404.173914-srg.jar             |Minecraft                     |minecraft                     |1.18.2              |DONE      |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f         TConstruct-1.18.2-3.7.1.155.jar                   |Tinkers' Construct            |tconstruct                    |3.7.1.155           |DONE      |Manifest: NOSIGNATURE         FarmersDelight-1.18.2-1.2.3.jar                   |Farmer's Delight              |farmersdelight                |1.18.2-1.2.3        |DONE      |Manifest: NOSIGNATURE         DungeonCrawl-1.18.2-2.3.14.jar                    |Dungeon Crawl                 |dungeoncrawl                  |2.3.14              |DONE      |Manifest: NOSIGNATURE         ImmersivePetroleum-1.18.2-4.2.0-25.jar            |Immersive Petroleum           |immersivepetroleum            |4.2.0-25            |DONE      |Manifest: NOSIGNATURE         ImmersiveEngineering-1.18.2-8.4.0-161.jar         |Immersive Engineering         |immersiveengineering          |1.18.2-8.4.0-161    |DONE      |Manifest: 44:39:94:cf:1d:8c:be:3c:7f:a9:ee:f4:1e:63:a5:ac:61:f9:c2:87:d5:5b:d9:d6:8c:b5:3e:96:5d:8e:3f:b7         forge-1.18.2-40.2.18-universal.jar                |Forge                         |forge                         |40.2.18             |DONE      |Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90         expandability-6.0.0.jar                           |ExpandAbility                 |expandability                 |6.0.0               |DONE      |Manifest: NOSIGNATURE         curios-forge-1.18.2-5.0.9.2.jar                   |Curios API                    |curios                        |1.18.2-5.0.9.2      |DONE      |Manifest: NOSIGNATURE         flywheel-forge-1.18.2-0.6.10-105.jar              |Flywheel                      |flywheel                      |0.6.10-105          |DONE      |Manifest: NOSIGNATURE         Mantle-1.18.2-1.9.50.jar                          |Mantle                        |mantle                        |1.9.50              |DONE      |Manifest: NOSIGNATURE         create-1.18.2-0.5.1.f.jar                         |Create                        |create                        |0.5.1.f             |DONE      |Manifest: NOSIGNATURE         refinedstorage-1.10.6.jar                         |Refined Storage               |refinedstorage                |1.10.6              |DONE      |Manifest: NOSIGNATURE         jei-1.18.2-forge-10.2.1.1006.jar                  |Just Enough Items             |jei                           |10.2.1.1006         |DONE      |Manifest: NOSIGNATURE         journeymap-1.18.2-5.9.8-forge.jar                 |Journeymap                    |journeymap                    |5.9.8               |DONE      |Manifest: NOSIGNATURE         CTM-1.18.2-1.1.5+5.jar                            |ConnectedTexturesMod          |ctm                           |1.18.2-1.1.5+5      |DONE      |Manifest: NOSIGNATURE         citadel-1.11.3-1.18.2.jar                         |Citadel                       |citadel                       |1.11.3              |DONE      |Manifest: NOSIGNATURE         L_Enders Cataclysm-0.51-changed Them -1.18.2.jar  |Cataclysm Mod                 |cataclysm                     |1.0                 |DONE      |Manifest: NOSIGNATURE         chipped-forge-1.18.2-2.0.1.jar                    |Chipped                       |chipped                       |2.0.1               |DONE      |Manifest: NOSIGNATURE         StorageDrawers-1.18.2-10.2.1.jar                  |Storage Drawers               |storagedrawers                |10.2.1              |DONE      |Manifest: NOSIGNATURE         artifacts-1.18.2-4.2.3.jar                        |Artifacts                     |artifacts                     |1.18.2-4.2.3        |DONE      |Manifest: NOSIGNATURE     Flywheel Backend: GL33 Instanced Arrays     Crash Report UUID: 50c1a276-b251-4bf8-b9f4-a76260acd047     FML: 40.2     Forge: net.minecraftforge:40.2.18
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.