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

    • when i enter my bf's server after it does all the loading, encrypting a message popps up: "Internal Exception: java.lang.IndexOutOfBoundaException: index: 4, length: 13996 (expected: range(0, 800))"  one time i saw myself in the server but then got kicked out with the same message. My boyfriend's POV is me joining and leaving the server. I play on 1.19.2 version.  i think i t may be an issue with a mod me and bf recently updated.
    • I am trying to install fear nightfall mod pack on curseforge but it keeps saying error forge modloader installation falied but I played it a week ago can someone please help.
    • Found the solution, will be closing this soon. The Minecraft mining overlay can be rendered using: "serverplayer.connection.send(new ClientboundBlockDestructionPacket(serverplayer.getId(), blockpos, i));" Everything else is completely unnecessary, and I was making this harder than it had to be.
    • [17:35:03] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeclientuserdev, --version, MOD_DEV, --assetIndex, 5, --assetsDir, C:\Users\moraw\.gradle\caches\forge_gradle\assets, --gameDir, ., --fml.forgeVersion, 47.3.0, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412] [17:35:03] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.12 by Eclipse Adoptium; OS Windows 10 arch amd64 version 10.0 [17:35:03] [main/DEBUG] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Found launch services [fmlclientdev,forgeclient,minecraft,forgegametestserverdev,fmlserveruserdev,fmlclient,fmldatauserdev,forgeserverdev,forgeserveruserdev,forgeclientdev,forgeclientuserdev,forgeserver,forgedatadev,fmlserver,fmlclientuserdev,fmlserverdev,forgedatauserdev,testharness,forgegametestserveruserdev] [17:35:03] [main/DEBUG] [cp.mo.mo.NameMappingServiceHandler/MODLAUNCHER]: Found naming services : [srgtomcp] [17:35:03] [main/DEBUG] [cp.mo.mo.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [mixin,eventbus,slf4jfixer,object_holder_definalize,runtime_enum_extender,capability_token_subclass,accesstransformer,runtimedistcleaner] [17:35:03] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services [17:35:03] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path GAMEDIR is C:\Users\moraw\Documents\Livestock\run [17:35:03] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path MODSDIR is C:\Users\moraw\Documents\Livestock\run\mods [17:35:03] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path CONFIGDIR is C:\Users\moraw\Documents\Livestock\run\config [17:35:03] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path FMLCONFIG is C:\Users\moraw\Documents\Livestock\run\config\fml.toml [17:35:03] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Found additional transformation services from discovery services: [17:35:03] [main/INFO] [ne.mi.fm.lo.ImmediateWindowHandler/]: Loading ImmediateWindowProvider fmlearlywindow [17:35:03] [main/INFO] [EARLYDISPLAY/]: Trying GL version 4.6 [17:35:03] [main/INFO] [EARLYDISPLAY/]: Requested GL version 4.6 got version 4.6 [17:35:03] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [mixin,fml] [17:35:03] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading [17:35:03] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loading service mixin [17:35:03] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loaded service mixin [17:35:03] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loading service fml [17:35:03] [main/DEBUG] [ne.mi.fm.lo.LauncherVersion/CORE]: Found FMLLauncher version 1.0 [17:35:03] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML 1.0 loading [17:35:03] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found ModLauncher version : 10.0.9+10.0.9+main.dcd20f30 [17:35:03] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found AccessTransformer version : 8.0.4+66+master.c09db6d7 [17:35:03] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found EventBus version : 6.0.5+6.0.5+master.eb8e549b [17:35:03] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Found Runtime Dist Cleaner [17:35:03] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found CoreMod version : 5.1.6 [17:35:03] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Found ForgeSPI package implementation version 7.0.1+7.0.1+master.d2b38bf6 [17:35:03] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Found ForgeSPI package specification 5 [17:35:03] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loaded service fml [17:35:03] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Configuring option handling for services [17:35:03] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services initializing [17:35:03] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service mixin [17:35:03] [main/DEBUG] [mixin/]: MixinService [ModLauncher] was successfully booted in cpw.mods.cl.ModuleClassLoader@34b7ac2f [17:35:04] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/moraw/.gradle/caches/modules-2/files-2.1/org.spongepowered/mixin/0.8.5/9d1c0c3a304ae6697ecd477218fa61b850bf57fc/mixin-0.8.5.jar%23126!/ Service=ModLauncher Env=CLIENT [17:35:04] [main/DEBUG] [mixin/]: Initialising Mixin Platform Manager [17:35:04] [main/DEBUG] [mixin/]: Adding mixin platform agents for container ModLauncher Root Container(ModLauncher:4f56a0a2) [17:35:04] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for ModLauncher Root Container(ModLauncher:4f56a0a2) [17:35:04] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container ModLauncher Root Container(ModLauncher:4f56a0a2) [17:35:04] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for ModLauncher Root Container(ModLauncher:4f56a0a2) [17:35:04] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container ModLauncher Root Container(ModLauncher:4f56a0a2) [17:35:04] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service mixin [17:35:04] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service fml [17:35:04] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Setting up basic FML game directories [17:35:04] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path GAMEDIR is C:\Users\moraw\Documents\Livestock\run [17:35:04] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path MODSDIR is C:\Users\moraw\Documents\Livestock\run\mods [17:35:04] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path CONFIGDIR is C:\Users\moraw\Documents\Livestock\run\config [17:35:04] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path FMLCONFIG is C:\Users\moraw\Documents\Livestock\run\config\fml.toml [17:35:04] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Loading configuration [17:35:04] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Preparing ModFile [17:35:04] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Preparing launch handler [17:35:04] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Using forgeclientuserdev as launch service [17:35:04] [pool-2-thread-1/INFO] [EARLYDISPLAY/]: GL info: Intel(R) Iris(R) Xe Graphics GL version 4.6.0 - Build 31.0.101.5594, Intel [17:35:04] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Received command line version data : VersionInfo[forgeVersion=47.3.0, mcVersion=1.20.1, mcpVersion=20230612.114412, forgeGroup=net.minecraftforge] [17:35:04] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service fml [17:35:04] [main/DEBUG] [cp.mo.mo.NameMappingServiceHandler/MODLAUNCHER]: Current naming domain is 'mcp' [17:35:04] [main/DEBUG] [cp.mo.mo.NameMappingServiceHandler/MODLAUNCHER]: Identified name mapping providers {srg=srgtomcp:1234} [17:35:04] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services begin scanning [17:35:04] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service mixin [17:35:04] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: End scan trigger - transformation service mixin [17:35:04] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service fml [17:35:04] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Initiating mod scan [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModListHandler/CORE]: Found mod coordinates from lists: [] [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModDiscoverer/CORE]: Found Mod Locators : (mods folder:null),(maven libs:null),(exploded directory:null),(minecraft:null),(userdev classpath:null) [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModDiscoverer/CORE]: Found Dependency Locators : (JarInJar:null) [17:35:04] [main/DEBUG] [ne.mi.fm.lo.ta.CommonLaunchHandler/CORE]: Got mod coordinates livestock%%C:/Users/moraw/Documents/Livestock\build\resources\main;livestock%%C:/Users/moraw/Documents/Livestock\build\classes\java\main from env [17:35:04] [main/DEBUG] [ne.mi.fm.lo.ta.CommonLaunchHandler/CORE]: Found supplied mod coordinates [{livestock=[C:\Users\moraw\Documents\Livestock\build\resources\main, C:\Users\moraw\Documents\Livestock\build\classes\java\main]}] [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileInfo/LOADING]: Found valid mod file forge-1.20.1-47.3.0_mapped_parchment_2023.09.03-1.20.1.jar with {minecraft} mods - versions {1.20.1} [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Considering mod file candidate C:\Users\moraw\.gradle\caches\modules-2\files-2.1\net.minecraftforge\fmlcore\1.20.1-47.3.0\3b6be96aba3e323f3c918e8ef6a96312d82d76ad\fmlcore-1.20.1-47.3.0.jar [17:35:04] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\moraw\.gradle\caches\modules-2\files-2.1\net.minecraftforge\fmlcore\1.20.1-47.3.0\3b6be96aba3e323f3c918e8ef6a96312d82d76ad\fmlcore-1.20.1-47.3.0.jar is missing mods.toml file [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Considering mod file candidate C:\Users\moraw\.gradle\caches\modules-2\files-2.1\net.minecraftforge\javafmllanguage\1.20.1-47.3.0\d7ebc62120f202109e300e084ca1a31a7b946a62\javafmllanguage-1.20.1-47.3.0.jar [17:35:04] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\moraw\.gradle\caches\modules-2\files-2.1\net.minecraftforge\javafmllanguage\1.20.1-47.3.0\d7ebc62120f202109e300e084ca1a31a7b946a62\javafmllanguage-1.20.1-47.3.0.jar is missing mods.toml file [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Considering mod file candidate C:\Users\moraw\.gradle\caches\modules-2\files-2.1\net.minecraftforge\lowcodelanguage\1.20.1-47.3.0\1bf3e845ea0ce750096da8c71c8364b188ab74d4\lowcodelanguage-1.20.1-47.3.0.jar [17:35:04] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\moraw\.gradle\caches\modules-2\files-2.1\net.minecraftforge\lowcodelanguage\1.20.1-47.3.0\1bf3e845ea0ce750096da8c71c8364b188ab74d4\lowcodelanguage-1.20.1-47.3.0.jar is missing mods.toml file [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Considering mod file candidate C:\Users\moraw\.gradle\caches\modules-2\files-2.1\net.minecraftforge\mclanguage\1.20.1-47.3.0\6093682e943ddccbabf70539319d7f2fe64db2e7\mclanguage-1.20.1-47.3.0.jar [17:35:04] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\moraw\.gradle\caches\modules-2\files-2.1\net.minecraftforge\mclanguage\1.20.1-47.3.0\6093682e943ddccbabf70539319d7f2fe64db2e7\mclanguage-1.20.1-47.3.0.jar is missing mods.toml file [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Considering mod file candidate C:\Users\moraw\Documents\Livestock\build\resources\main [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileInfo/LOADING]: Found valid mod file main with {livestock} mods - versions {0.01-1.20.1} [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Considering mod file candidate / [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileInfo/LOADING]: Found valid mod file with {forge} mods - versions {47.3.0} [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.AbstractJarFileDependencyLocator/]: Failed to load resource META-INF\jarjar\metadata.json from forge-1.20.1-47.3.0_mapped_parchment_2023.09.03-1.20.1.jar, it does not contain dependency information. [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.AbstractJarFileDependencyLocator/]: Failed to load resource META-INF\jarjar\metadata.json from , it does not contain dependency information. [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.AbstractJarFileDependencyLocator/]: Failed to load resource META-INF\jarjar\metadata.json from main, it does not contain dependency information. [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.AbstractJarFileDependencyLocator/]: Failed to load resource META-INF\jarjar\metadata.json from mclanguage-1.20.1-47.3.0.jar, it does not contain dependency information. [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.AbstractJarFileDependencyLocator/]: Failed to load resource META-INF\jarjar\metadata.json from javafmllanguage-1.20.1-47.3.0.jar, it does not contain dependency information. [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.AbstractJarFileDependencyLocator/]: Failed to load resource META-INF\jarjar\metadata.json from fmlcore-1.20.1-47.3.0.jar, it does not contain dependency information. [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.AbstractJarFileDependencyLocator/]: Failed to load resource META-INF\jarjar\metadata.json from lowcodelanguage-1.20.1-47.3.0.jar, it does not contain dependency information. [17:35:04] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: No dependencies to load found. Skipping! [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileInfo/LOADING]: Found valid mod file forge-1.20.1-47.3.0_mapped_parchment_2023.09.03-1.20.1.jar with {minecraft} mods - versions {1.20.1} [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Loading mod file C:\Users\moraw\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.20.1-47.3.0_mapped_parchment_2023.09.03-1.20.1\forge-1.20.1-47.3.0_mapped_parchment_2023.09.03-1.20.1.jar with languages [LanguageSpec[languageName=minecraft, acceptedVersions=1]] [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Considering mod file candidate / [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileInfo/LOADING]: Found valid mod file with {forge} mods - versions {47.3.0} [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Loading mod file / with languages [LanguageSpec[languageName=javafml, acceptedVersions=[24,]]] [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Found coremod field_to_method with Javascript path coremods/field_to_method.js [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Found coremod field_to_instanceof with Javascript path coremods/field_to_instanceof.js [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Found coremod add_bouncer_method with Javascript path coremods/add_bouncer_method.js [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Found coremod method_redirector with Javascript path coremods/method_redirector.js [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Found coremod coremods/field_to_method.js [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Found coremod coremods/field_to_instanceof.js [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Found coremod coremods/add_bouncer_method.js [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Found coremod coremods/method_redirector.js [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Considering mod file candidate C:\Users\moraw\Documents\Livestock\build\resources\main [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileInfo/LOADING]: Found valid mod file main with {livestock} mods - versions {0.01-1.20.1} [17:35:04] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Loading mod file C:\Users\moraw\Documents\Livestock\build\resources\main with languages [LanguageSpec[languageName=javafml, acceptedVersions=[47,)]] [17:35:04] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: End scan trigger - transformation service fml [17:35:04] [main/DEBUG] [ne.mi.fm.lo.LanguageLoadingProvider/CORE]: Found 3 language providers [17:35:04] [main/DEBUG] [ne.mi.fm.lo.LanguageLoadingProvider/CORE]: Found language provider minecraft, version 1.0 [17:35:04] [main/DEBUG] [ne.mi.fm.lo.LanguageLoadingProvider/CORE]: Found language provider lowcodefml, version 47 [17:35:04] [main/DEBUG] [ne.mi.fm.lo.LanguageLoadingProvider/CORE]: Found language provider javafml, version 47 [17:35:04] [main/DEBUG] [ne.mi.fm.lo.ModSorter/]: Configured system mods: [minecraft, forge] [17:35:04] [main/DEBUG] [ne.mi.fm.lo.ModSorter/]: Found system mod: minecraft [17:35:04] [main/DEBUG] [ne.mi.fm.lo.ModSorter/]: Found system mod: forge [17:35:04] [main/DEBUG] [ne.mi.fm.lo.ModSorter/LOADING]: Found 2 mod requirements (2 mandatory, 0 optional) [17:35:04] [main/DEBUG] [ne.mi.fm.lo.ModSorter/LOADING]: Found 0 mod requirements missing (0 mandatory, 0 optional) [17:35:05] [main/DEBUG] [ne.mi.fm.lo.MCPNamingService/CORE]: Loaded 34318 method mappings from methods.csv [17:35:05] [main/DEBUG] [ne.mi.fm.lo.MCPNamingService/CORE]: Loaded 31014 field mappings from fields.csv [17:35:05] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading transformers [17:35:05] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformers for transformation service mixin [17:35:05] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformers for transformation service mixin [17:35:05] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformers for transformation service fml [17:35:05] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Loading coremod transformers [17:35:05] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: Loading CoreMod from coremods/field_to_method.js [17:35:05] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: CoreMod loaded successfully [17:35:05] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: Loading CoreMod from coremods/field_to_instanceof.js [17:35:05] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: CoreMod loaded successfully [17:35:05] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: Loading CoreMod from coremods/add_bouncer_method.js [17:35:05] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: CoreMod loaded successfully [17:35:05] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: Loading CoreMod from coremods/method_redirector.js [17:35:05] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: CoreMod loaded successfully [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@9b76b60 to Target : CLASS {Lnet/minecraft/world/level/biome/Biome;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@493ac8d3 to Target : CLASS {Lnet/minecraft/world/level/levelgen/structure/Structure;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@13dbed9e to Target : CLASS {Lnet/minecraft/world/effect/MobEffectInstance;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@67531e3a to Target : CLASS {Lnet/minecraft/world/level/block/LiquidBlock;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@2b38b1f to Target : CLASS {Lnet/minecraft/world/item/BucketItem;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@1d50a7ca to Target : CLASS {Lnet/minecraft/world/level/block/StairBlock;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@51ab1ee3 to Target : CLASS {Lnet/minecraft/world/level/block/FlowerPotBlock;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@2e766822 to Target : CLASS {Lnet/minecraft/world/item/ItemStack;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3003e580 to Target : CLASS {Lnet/minecraft/network/play/client/CClientSettingsPacket;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/entity/monster/Evoker$EvokerSummonSpellGoal;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/entity/npc/CatSpawner;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/level/levelgen/structure/structures/OceanRuinPieces$OceanRuinPiece;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/entity/animal/horse/SkeletonTrapGoal;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/entity/ai/village/VillageSiege;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/entity/monster/Strider;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/entity/monster/Spider;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/entity/monster/ZombieVillager;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/level/NaturalSpawner;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/entity/npc/Villager;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/server/commands/RaidCommand;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/level/levelgen/structure/structures/SwampHutPiece;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/entity/monster/Zombie;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/entity/raid/Raid;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/level/levelgen/structure/structures/WoodlandMansionPieces$WoodlandMansionPiece;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/entity/EntityType;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/level/levelgen/PatrolSpawner;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/level/levelgen/PhantomSpawner;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/level/levelgen/structure/structures/OceanMonumentPieces$OceanMonumentPiece;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/server/commands/SummonCommand;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@28757abd to Target : CLASS {Lnet/minecraft/world/entity/animal/frog/Tadpole;} {} {V} [17:35:05] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformers for transformation service fml Exception in thread "main" java.lang.module.ResolutionException: Modules classes and livestock export package net.s3alampr3y.livestockmod.entity.client to module minecraft at java.base/java.lang.module.Resolver.resolveFail(Resolver.java:901) at java.base/java.lang.module.Resolver.failTwoSuppliers(Resolver.java:815) at java.base/java.lang.module.Resolver.checkExportSuppliers(Resolver.java:736) at java.base/java.lang.module.Resolver.finish(Resolver.java:380) at java.base/java.lang.module.Configuration.<init>(Configuration.java:140) at java.base/java.lang.module.Configuration.resolveAndBind(Configuration.java:494) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.ModuleLayerHandler.buildLayer(ModuleLayerHandler.java:75) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServicesHandler.buildTransformingClassLoader(TransformationServicesHandler.java:60) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:106) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:78) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) Process finished with exit code 1  
  • Topics

×
×
  • Create New...

Important Information

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