Jump to content

perromercenary00

Members
  • Posts

    849
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by perromercenary00

  1. good nights i'm retaken mi mod after long time without work on it so wanna correct a little trouble from mi mod this are the herbs from resident evil 4 herbs and there are seed, plant, and plant in pot version of each one at mixing them the item at output is only one item named "hierba" whit eleven meta versions //############################################################################################3 public String getUnlocalizedName(ItemStack stack) { int m= stack.getMetadata(); if (m == 0){return "hierbaAmarilla" ;} if (m == 1){return "hierbaRoja" ;} if (m == 2){return "hierbaAzul" ;} if (m == 3){return "hierbaVerde" ;} if (m == 4){return "hierba2Verdes" ;} if (m == 5){return "hierba3Verdes" ;} if (m == 6){return "hierbaVerdeyRoja" ;} if (m == 7){return "hierba2VerdesyRoja" ;} if (m == {return "hierba1Verde1Azul" ;} if (m == 9){return "hierba1Verde1Roja1Azul" ;} if (m == 10){return "hierba1Verde1Roja1Amarilla" ;} if (m == 11){return "AidSpray" ;} return name; } //############################################################################################3 video soo i already have 2 mixed green + red herb metadata 6 now i just make the mashed red herb metadata 1 and for some reason this red herb[1] end mixed whit the two green + red herb [6] so i end whit 3 green + red herb[6] and that is wrong, the red herb must not mix in this way then i mash some blue herb[2] but end stacked whit the mashed green herb[3] so now i have 3 green herbs ·········································· may im losing some flag at declaring the class hierba.java can someone point me what im missing please this is hierba.java https://gist.github.com/anonymous/59409992c5b24d59a0d615e14cb278ff this are the recipes https://gist.github.com/anonymous/e9cec1c8f34699a2eb453f03e408d192
  2. lately i have this runing in mi head, more like a headlees chicken anyway lately i found i job in a small factory im the guy that make the database backups and keep runing the servers i know this are some of the responsibilities for the sysadmin, but im not exactly the sysadmin im something more like a IT technician ++. in this country the people is mad. is comon the belibe than everithing from fix a cellphone to sell computers and program software is system engineer , I have learn the bitter true through the hars way , and now know why the system enginiere ends as a repair guy here soo i dont wanna throw mi money to waste in such a way and i think i could fin answers here, there is people from everywhere from the infamous rat kid to computer sciense soo i shall ask then what do you study to works as sysadmin in your country ? sorry for bad english and please avoid the flame.
  3. soo is something like the tile entity just set ther checking every x sec if the chuns afected by the extructure are loaded, before popup
  4. hele the trouble is becoze what i have done is complex and also idont speak very well the english soo lets use this video as help long ago i end inthe conclusion than to create numerous structures the more convenient and easy way wass to make a block than spawn an extructure, and i make some blocks way it popup estructures on onBlockActivated() or updateTick() or a convination of this two but i notice than if i try to popup many blocks at same time the game stuck or crash, to solve this i use tileEntityes way soo the tile create only a block per tick and set it whith worldIn.scheduleUpdate(pos, state.getBlock(), OnUpdateTick + 1); to only popup a a block every two ticks, the village in the video works this way and it works pretty well well now i want to create a net of tunels under the village (i have two, a sewer tunel and a mine tunel) to conect the village whith other structures or dungeons and here is where its fuckup again. #### for some reason the tunel causes server side to stuck, i take it that apart and make a tile entity only to create the tunel so i could guest whats is hapening and notice that afirmatively is the trouble is inside the tunel, but not always happen not always stuck, and has something to be whith lenght of the tunel in the first video i set the tunels to only spawn 160 section of 16meters and this time works pretty well but if i take it furter it stuck the server side. in this test i set only the tunel tileEntity to create 500 sections of 16 meters remenber thath the tileE just create a block every two ticks and popup a tunel section only every two ticks the game stucks righ after the tile entity activates, soo i reduce the length of the tunnel to only 30 sections of 16Meters and now it works i have a teorie of the tunel secctions trying to spawn in a far away chuns than not exist in that moment and thus hanging the server but not to sure about this, if it is then it set mi plans of multiple structures interconected by tunels to the ground is way i could test this right, or is a right way to create long structures even on non existent chuns
  5. im triying to create a group of structures like abandoned houses and little settlements and all this conected by a long tunel underground like 1.6km but the longer the tunel the higther posibility serverside hangs and the games gets stuck stuck: like in the client the game still runing but all the entityes freeze and there is no more terrain generation, doors and chest dont open, mi guns neither work, but you could walk and jump and move freely for the loaded section of the map but no farter than thath whath i got, * I have a block "extructuraTunel00" that on tick event create a little secciont of tunnel, of chunck size * And i have a block whith a tileEntity in it "generarTunel" and tunelTileEntity the entity count onupdateTick once it counts to 100 ticks, every two ticks move 16 blocks to a ramndom direction and create a block "extructuraTunel00" and set it to tick in onupdateTick value so it creates only a block every two ticks and this block create a secction of tunel only every two ticks after five seconds this reduce the posibility of the serverside get fucked up but not avoid it, im being doing test but still not know if it is becoze the tileEntity is seting like 300 blocks to tick in 700 ticks or the blocks creating the little piezes of the tunel every two ticks per 600 ticks or is becoze sometimes a block ticks in a chunch that yet not exist or simply is a bug on the minecraft 1.10.2 you never know ############################### what do you think coulbe causing the issue ?? or there is a right way to create a large structure in minecraft (2 or 3 km long)
  6. is this adead request actualy im using 10.2 and the problem remain orr soo this is more like a feature than and issue ??
  7. si ya solve it, originally wass thinking it coul be for the renderItem reflection trick i wass doing to fix the thing whith the reequip animation soo i remove but wass when i remove mi unsusefull capabilityes intend that desapears the problem neither of this code show error in eclipse well thanks
  8. good days i have thius issue when i try to generate a jar for mi mod i get this error Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed) soo i wanna know for what it is this soo usuario@debian:~/Modding/forge-1.10.2-2005-modmercenarioforge$ ./gradlew build --stacktrace Picked up _JAVA_OPTIONS: -Xmx2g To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.7/userguide/gradle_daemon.html. This mapping 'snapshot_20160518' was designed for MC 1.9.4! Use at your own peril. ################################################# ForgeGradle 2.2-SNAPSHOT-59f33ec https://github.com/MinecraftForge/ForgeGradle ################################################# Powered by MCP unknown http://modcoderpack.com by: Searge, ProfMobius, Fesh0r, R4wk, ZeuX, IngisKahn, bspkrs ################################################# :deobfCompileDummyTask :deobfProvidedDummyTask :sourceApiJava UP-TO-DATE :compileApiJava UP-TO-DATE :processApiResources UP-TO-DATE :apiClasses UP-TO-DATE :sourceMainJava UP-TO-DATE :compileJava warning: [options] bootstrap class path not set in conjunction with -source 1.6 Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 warning :processResources UP-TO-DATE :classes :jar :sourceTestJava UP-TO-DATE :compileTestJava UP-TO-DATE :processTestResources UP-TO-DATE :testClasses UP-TO-DATE :test UP-TO-DATE :extractMcpData SKIPPED :extractMcpMappings SKIPPED :getVersionJson :extractUserdev UP-TO-DATE :genSrgs SKIPPED :reobfJar :extractRangemapReplacedMain /home/usuario/Modding/forge-1.10.2-2005-modmercenarioforge/build/sources/main/java The message received from the daemon indicates that the daemon has disappeared. Build request sent: BuildAndStop{id=c010d2ea-df3c-445b-9730-829000fd067f.1, currentDir=/home/usuario/Modding/forge-1.10.2-2005-modmercenarioforge} Attempting to read last messages from the daemon log... Daemon pid: 21613 log file: /home/usuario/.gradle/daemon/2.7/daemon-21613.out.log ----- Last 20 lines from daemon log file - daemon-21613.out.log ----- Note: Recompile with -Xlint:unchecked for details. 1 warning :processResources UP-TO-DATE :classes :jar :sourceTestJava UP-TO-DATE :compileTestJava UP-TO-DATE :processTestResources UP-TO-DATE :testClasses UP-TO-DATE :test UP-TO-DATE :extractMcpData SKIPPED :extractMcpMappings SKIPPED :getVersionJson :extractUserdev UP-TO-DATE :genSrgs SKIPPED :reobfJar :extractRangemapReplacedMain /home/usuario/Modding/forge-1.10.2-2005-modmercenarioforge/build/sources/main/java Daemon vm is shutting down... The daemon has exited normally or was terminated in response to a user interrupt. ----- End of the daemon log ----- FAILURE: Build failed with an exception. * What went wrong: Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed) * Try: Run with --info or --debug option to get more log output. * Exception is: org.gradle.launcher.daemon.client.DaemonDisappearedException: Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed) at org.gradle.launcher.daemon.client.DaemonClient.handleDaemonDisappearance(DaemonClient.java:222) at org.gradle.launcher.daemon.client.DaemonClient.monitorBuild(DaemonClient.java:198) at org.gradle.launcher.daemon.client.DaemonClient.executeBuild(DaemonClient.java:162) at org.gradle.launcher.daemon.client.SingleUseDaemonClient.execute(SingleUseDaemonClient.java:55) at org.gradle.launcher.daemon.client.SingleUseDaemonClient.execute(SingleUseDaemonClient.java:37) at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43) at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170) at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237) at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210) at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35) at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24) at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206) at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169) at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33) at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22) at org.gradle.launcher.Main.doAction(Main.java:33) at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54) at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35) at org.gradle.launcher.GradleMain.main(GradleMain.java:23) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61) > Building 78% > :extractRangemapReplacedMainusuario@debian:~/Modding/forge-1.10.2-2005-modmercenarioforge$ the code run in eclipse and the only errrors isee are for the blocks i have whiouth a texture json asigned soo i hava no idea what it is failing can you tell me what it is thanks for reading
  9. good days i just have and idea and to test this idea i need to access to the render player model equivalent to when you do Minecraft mc = Minecraft.getMinecraft(); EntityPlayer playerIn = mc.thePlayer; ItemRenderer IR = mc.getItemRenderer(); EntityRenderer er = mc.entityRenderer; ?? osea i want the one thath loads or render the player model (ModelBiped), i think may using reflection could set to: this.rightArmPose =ModelBiped.ArmPose.BOW_AND_ARROW; this.leftArmPose == ModelBiped.ArmPose.BOW_AND_ARROW; to rise or down the entity player arms wen hold one of mi items whithout using EnumAction.BOW ### someone get the idea ? what renderer i need to get and how to get it ??
  10. por si acaso i alredy test it whith the last forge forge-1.9.4-12.17.0.1968-mdk i have a glimp or hope afther see the chanlog Build 1.9.4-12.17.0.1964: williewillus: Fix AnimationItemOverrideList not falling back to super (#2990) but naaa this hass nothing to do whith mi issue
  11. good days im trying to do something a little complex here, and its a pistol whith the posibility to hold two pistol at same time in each hand and fire one of other presing left or right click whell to disable the ReequipAnimation is supouse you @override the method shouldCauseReequipAnimation(ItemStack oldStack, ItemStack newStack, boolean slotChanged) and use your logic to deside when to play the animation or not but if you set this method return false the item kinda stucks you can switch slot but item dont go unstuck and all the items from the hotbar now display as the gun unless you select and empty slot this unstuck the gun from the players hand all this wass using this code in the gun class @Override public boolean shouldCauseReequipAnimation(ItemStack oldStack, ItemStack newStack, boolean slotChanged) { //Boolean b = oldStack.equals(newStack); //System.out.println("B="+!b); //return !b; return false; } well now this is more or least how the vainilla works now the animations for the pistol shooting works, the unload reload works , the downside the original trouble its that is playing ReequipAnimation every time the item writes or chang and NBTtag value to the gun and this become extremely anoying. More in the case of the dual guns becoze i need to constantely write nbts to ensuser the animation of the offhand gun as you could see in the first video this little feature of reequip animation end ruining all the dual pistol experience this wass the code i use in the video @Override public boolean shouldCauseReequipAnimation(ItemStack oldStack, ItemStack newStack, boolean slotChanged) { Boolean b = oldStack.equals(newStack); System.out.println("B="+!b); return !b; } to avoid minecraft to treat the newStack whith diferent NBT as a completely diferent item i set a serialnumber system in mi guns so a could know if its the same gun or its another gun from the same kind or its a competely diferent item geting this the guns stucks again but its little diferent, if i change of selected slot the gun unstuck and the other slot item render normaly and this time do something like this @Override public boolean shouldCauseReequipAnimation(ItemStack oldStack, ItemStack newStack, boolean slotChanged) { Boolean b = oldStack.equals(newStack); if(!b) { int oldSN = util.getInttag(oldStack, "serial"); int newSN = util.getInttag(newStack, "serial"); System.out.println("new="+newSN+" = "+oldSN+"=old"); if ( newSN == oldSN) { return false; } } return !b; } int the console outpot i get this when the gun stuck [13:08:26] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:26] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:26] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:26] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:26] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:27] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:28] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:29] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:30] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:31] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old ass isee this means the client side get stuck and never replace the old stack for the newstack geting locked in an infinite blucle but when i change of slot this happend [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=50763212 = 50763212=old [13:08:34] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=0 = 50763212=old [13:08:35] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=0 = 50763212=old [13:08:35] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1187]: new=0 = 50763212=old it stop the bucle and play reequip animation whith new stack >> and this is way i calll BUG << acoirding to this you can change of item stack whithout play the switch animation whiout geting stuck whith the item in hand sorry it is not to clear, english is not native languague as i try to say at the beginig it must be safe to just set return of shouldCauseReequipAnimation() to false whiout geting and stuck item in your hands i also try to replicated what is in this other post http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/modification-development/2350120-can-i-disable-the-animation-of-item-at-right-click but the more i could wait from it, is to just reduce the up down move of the hand a little, becose i can cancell the animation just triger it and wait for the next tick to use reflection to force the process to end but either have luck whith it just end whith a bunch of stucked guns thanks for reading :
  12. well thanks for aclaration i been able to read the data whith reflecction // ############################################################################################3 @Override public boolean shouldCauseReequipAnimation(ItemStack oldStack, ItemStack newStack, boolean slotChanged) { Boolean b = oldStack.equals(newStack); Boolean showValues = true; if (showValues) { Minecraft mc = Minecraft.getMinecraft(); EntityPlayer playerIn = mc.thePlayer; ItemRenderer IR = mc.getItemRenderer(); System.out.println("#="); try { float cas = playerIn.getCooledAttackStrength(1.0F); { // this.prevEquippedProgressMainHand Field field = ItemRenderer.class.getDeclaredField("equippedProgressMainHand"); field.setAccessible(true); float f = field.getFloat(IR); System.out.println(" f=" + f ); } { Field field = ItemRenderer.class.getDeclaredField("prevEquippedProgressMainHand"); field.setAccessible(true); float pf = field.getFloat(IR); System.out.println(" pf="+pf); } } catch (Exception e) { e.printStackTrace(); } } System.out.println("B="+!b); return !b; } // ############################################################################################3 it makes clear why some of the things i try failed whith wicked results console output cleaned [08:48:25] [Client ]: [:shouldCauseReequipAnimation:1188]: #= [08:48:25] [Client ]: [:shouldCauseReequipAnimation:1199]: f=1.0 [08:48:25] [Client ]: [:shouldCauseReequipAnimation:1207]: pf=1.0 [08:48:25] [Client ]: [:shouldCauseReequipAnimation:1368]: B=false [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1188]: #= [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1199]: f=1.0 [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1207]: pf=1.0 [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1368]: B=false here it begins the reequip thing [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1188]: #= [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1199]: f=1.0 [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1207]: pf=1.0 [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1368]: B=true [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1188]: #= [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1199]: f=0.6 [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1207]: pf=0.6 [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1368]: B=true [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1188]: #= [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1199]: f=0.20000002 [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1207]: pf=0.20000002 [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1368]: B=true when it reaches zero the itemStatck change B becomes again false this take like three ticks then there goes back to 1.0F [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1188]: #= [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1199]: f=0.0 [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1207]: pf=0.0 [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1368]: B=false [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1188]: #= [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1199]: f=0.4 [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1207]: pf=0.4 [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1368]: B=false [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1188]: #= [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1199]: f=0.8 [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1207]: pf=0.8 [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1368]: B=false [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1188]: #= [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1199]: f=1.0 [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1207]: pf=1.0 [08:48:26] [Client ]: [:shouldCauseReequipAnimation:1368]: B=false inthe other hand i think im to young for the irc chat a wass able to enter using the web client but is like i never get inside the channel #mcp or de other inside i wass the only user in th list and when try to call the bot it says then the user is not found
  13. good days im trying to solve and old trouble and for this i need to know basic asm the thing is this i need to get the float value from a private varible from a class two know what is internally happend exactly i wanna see "private float equippedProgressMainHand;" from a runing instance of: net.minecraft.client.renderer.ItemRenderer.java to do this im doing client side of course Minecraft mc = Minecraft.getMinecraft(); EntityPlayer playerIn = mc.thePlayer; ItemRenderer IR = mc.getItemRenderer(); try{ float a1=0.5F; { Field field = ItemRenderer.class.getDeclaredField("equippedProgressMainHand"); field.setAccessible(true); Float f = field.getFloat(field); System.out.println("f="+f); //field.setFloat(IR,a1); } well seems like this is not the right way to observe a float value throght reflection methods i been trying diferents things from google today but just get and error here or there in other test it wass something about the field is privated in the other hand field.setFloat(IR,a1); seems to works but i need to know first whath are the values i gonna force here coz sething this float a1=1.0F; to 1.0F just cause the item to go up in first person view and sething this float a1=0.5F; causes the item to slowing go down [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: java.lang.IllegalArgumentException: Can not set float field net.minecraft.client.renderer.ItemRenderer.equippedProgressMainHand to java.lang.reflect.Field [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:58) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at sun.reflect.UnsafeFloatFieldAccessorImpl.getFloat(UnsafeFloatFieldAccessorImpl.java:64) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at java.lang.reflect.Field.getFloat(Field.java:648) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at mercenarymod.items.armasdefuego.pistolaMercenaria.shouldCauseReequipAnimation(pistolaMercenaria.java:1255) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at net.minecraftforge.client.ForgeHooksClient.shouldCauseReequipAnimation(ForgeHooksClient.java:658) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at net.minecraft.client.renderer.ItemRenderer.updateEquippedItem(ItemRenderer.java:631) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at net.minecraft.client.renderer.EntityRenderer.updateRenderer(EntityRenderer.java:325) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at net.minecraft.client.Minecraft.runTick(Minecraft.java:1864) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1117) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at net.minecraft.client.Minecraft.run(Minecraft.java:404) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at net.minecraft.client.main.Main.main(Main.java:118) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at java.lang.reflect.Method.invoke(Method.java:498) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at java.lang.reflect.Method.invoke(Method.java:498) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [14:48:03] [Client thread/INFO] [sTDERR]: [mercenarymod.items.armasdefuego.pistolaMercenaria:shouldCauseReequipAnimation:1269]: at GradleStart.main(GradleStart.java:26) thanks for reading
  14. well i spend the last two days reading random things and think i'm grasping the concept but not yet the process to get it working is the syncing between server side and local side waths botther me, i set the animations serverside and this get execute client side, when i wass playing whith packages in 1.8 the average package takes about tree ticks to reach client side and could take up to fithteen, mi single shoot animation takes tree ticks to execute this could cause a visible unsync between the shoot and the the actual animation of the shoot, trouble is not so big whith actual nbt system // ############################################################################################3 public pistolaMercenaria(String name, int tipo) { super(name, tipo); // TexturaJason this.addPropertyOverride(new ResourceLocation("tj"), new IItemPropertyGetter() { @SideOnly(Side.CLIENT) public float apply(ItemStack stack, World worldIn, EntityLivingBase entityIn) { return getTJ(stack, worldIn, entityIn); } }); }// fin de contructor // ############################################################################################3 @SideOnly(Side.CLIENT) public float getTJ(ItemStack stack, World worldIn, EntityLivingBase entity) { // tipodeCargador estadoR { 0 estatico, 1 disparo , xxx rutina de sacar // o meter cargador, estadoL { 0 estatico, 1 disparo , xxx rutina de // sacar o meter cargador } // accion // 0 estatica // 1 disparo // 2 unload // 3 reload // 4 unload reload // util.setBytetag(stack , "cargadorr" , meta); boolean ejecutar = util.getBooleantag(stack, "ejecutar"); if ((!ejecutar) && (entity != null) && (entity.isHandActive()) && (entity.getActiveItemStack() == stack)) { byte accion = util.getBytetag(stack, "accion"); int count = entity.getItemInUseCount(); int conteo = 10000 - count; // actuall ticks if ((conteo > 3) && (accion < 2)) { //cos the single shoot is done on tick 4 //on ticks 4 and 5 display the json whith texture of the gun shooting //on tick 6 go back to base json whith texture of static gun if (conteo == 4 || conteo == 5) { byte tipodisparo = util.getBytetag(stack, "tipodisparo"); if (tipodisparo < 4) { byte municion = util.getBytetag(stack, "municion"); if (municion > 0) { return (stack.getMetadata() * 100) + 10.0F; } } } and thats its way i thing capabilities wont'n gonna work for mi case whith the vainilla NBT tag system works pretty well the trouble is that Anoying ReequipAnimation in the client side i could'n get ride of ################################################ yerterday nigth i sit to read old post's soo i find the relationship betwin ItemRenderer.class and the troublesome item#shouldCauseReequipAnimation(); method in this expecific post http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/modification-development/2350120-can-i-disable-the-animation-of-item-at-right-click this lapizSea manage to change the behaveour of the itemRender class using some kind of ASM whichery, asm is still out of mi reach and this one is for an old minecrafts version. well either way doing this or the capabilities is like the gift ################################################ this morning test i decide to go back to original aproach i discover than if i do // ############################################################################################3 @Override public boolean shouldCauseReequipAnimation(ItemStack oldStack, ItemStack newStack, boolean slotChanged) { long tiempo =( System.currentTimeMillis() % 2000 );// = every two seconds System.out.println("tiempo="+tiempo); if ( tiempo > 1000 && tiempo < 1100) { return true; } return false; } // ############################################################################################3 this method is executed like 19 times per second or i must say every tick and its causes reequip once every two seconds on what i understand after reading the net.minecraft.client.renderer.ItemRenderer.class exactly if i just set this thing to retun allways false the ReequipAnimation should never happend but this is not the case the item just gets stuck there and never really change the old for the itemstack // ############################################################################################3 @Override public boolean shouldCauseReequipAnimation(ItemStack oldStack, ItemStack newStack, boolean slotChanged) { return false; } // ############################################################################################3 soo i think this is a bug and to workarrounded i dont have other option but learn wtf is reflecction and how to use to set the values from net.minecraft.client.renderer.ItemRenderer.class exactly this values from here private float equippedProgressMainHand; private float prevEquippedProgressMainHand; private float equippedProgressOffHand; private float prevEquippedProgressOffHand;
  15. ernio is given you more wise tips and surely gonna get more easy than mine i could get video from mi old chaing saw but the saw in this old prototipe gun uses the same system than mi old chainsaw i this case when left click it creates a invisible entity that exist both client and server side this invisible entity has an instance of playerEntity and sync the player id it to client side via datawacher the entity client side checks every tick if players hold left click it is soo then sens pakage to itself in the server side to enter in atack mode when player client side release left click entity send package stop if entity is in atack mode it ray trace based on player pitch and yaw if fount mob and this mob is close at less than 3meters entity shoot chainsaw bullet also based of player rotation and traslation this bullet deals only 1D of damage and i do it like a bullet sooo it would'n damage mobs througth walls and things well ithink i lost the point a little here not even know if you wanna atack on right or left click
  16. ñaaa two thing come two mind and alredy do the two of if its an left clcik atack // ############################################################################################3 @Override public boolean onEntitySwing(EntityLivingBase shootingEntity, ItemStack stack) { World worldIn = shootingEntity.worldObj; if (!worldIn.isRemote) { entidadDisparo ed = new entidadDisparo(worldIn, shootingEntity); worldIn.spawnEntityInWorld(ed); } //### boolean dissable = false; if (dissable && !worldIn.isRemote) { byte adatick = 4; switch(adatick) { case 4: case 7: case 10: case 13: case 16: case 19: ItemStack offfhand = shootingEntity.getHeldItemOffhand(); if (offfhand != null && offfhand.getItem() instanceof pistolaDual){ byte municion = util.getBytetag(offfhand, "municion"); if (municion > 0){ diparo(offfhand, shootingEntity, adatick); util.setInttag(offfhand, "ticksmax", 10); util.setBooleantag(offfhand, "ejecutar", true); util.setLongtag(offfhand, "currenttime", 0); util.setLongtag(offfhand, "currenttimed", System.currentTimeMillis()); util.setBytetag(offfhand, "accion", 1); } } //onPlayerStoppedUsing(offfhand, shootingEntity, adatick); break; } //desAtascar(stack); } return true; } here is two things im working on the first, also the working one create an entity that makes the dirty work for the player atack every two ticks and live only for 20ticks the dieded and desapear but has a trouble and os that itis acumulative soo id you prees fast left click you end whith tree or more atackind entityes at same time if it is an onItemRigthClick you should put your atack code inside // ############################################################################################3 @Override public void onUsingTick(ItemStack stack, EntityLivingBase player, int count) { // World worldIn = player.worldObj; int conteo = 10000 - count; if ( (conteo %2) == 0) { attack(); } } [/code]
  17. good days today i take tiime for this to solve but is a little complicated im trying to ensamble the parts but things i dont get like where is stored the data ? i think is stored on the players nbt but not soo sure and how i make the client to get the data ? how i implement this to store mi kind of data in the itemstack? this is the nbt tags i use to make the guns works // ############################################################################################3 @Override public void inicializar(ItemStack stack) { util.setBooleantag(stack, "inicializado", true); util.setBooleantag(stack, "ejecutar", false); int meta = stack.getMetadata(); int mm = 16; switch (meta) { default: ; break; case 2: mm = 32; break; case 3: mm = 64; break; } util.setBytetag(stack, "tipo", this.tipo); util.setInttag(stack, "serial", util.getSerialAlHazar()); util.setBytetag(stack, "tipodisparo", 1); util.setBytetag(stack, "tipodisparomax", 1); util.setBytetag(stack, "cargadorr", meta); util.setBytetag(stack, "municion", 0); util.setBytetag(stack, "tipomunicion", 1); util.setBytetag(stack, "tipomunicionmax", 3); util.setBytetag(stack, "municionmax", mm); util.setInttag(stack, "municiondisp", 0); util.setBytetag(stack, "municionb", 0); util.setBytetag(stack, "tipomunicionb", 1); util.setBytetag(stack, "tipomunicionmaxb", 3); util.setBytetag(stack, "municionmaxb", mm); util.setInttag(stack, "municiondispb", 0); util.setFloattag(stack, "tj", -1.0F); util.setBytetag(stack, "accion", 0); util.setInttag(stack, "ticksmax", 0); util.setInttag(stack, "tiempo", 0); util.setLongtag(stack, "currenttime", 0); // llevar las animaciones en // el mundo local util.setLongtag(stack, "currenttimed", 0); // dexbloquear si se atasca // en el servidor } // ############################################################################################3 now come to mi mind the word datawacher but now well i tink i could'n use the entityplayers datawacher as in 1.8 thanks for reading
  18. this is old but actualy never get how to [glow=green,2,300]doit[/glow] someone sometime write something about to delete the arms from the model and repaint them as you want but never get how to do this, how to chatch the player model instance to change values on it on the fly some other time someone else say something about to replace all the player model for a custom one, but also never understand how to get this done i personaly like to set the player arms in the bow position, so y triet and read until get tired and [glow=orange,2,300] "deje asi"[/glow] someone can set some light on this and explain please how to modificate the player model ??
  19. well i know i eventually hit again this same stone, coz i have trouble whith it in 1.7, 1.8 and now 1.9 its what i call switch animation is the little animation tha hapens when you change the item you are holding in your hands in the game so the item moves down and then up, the trouble is that also happen when you writte or change an nbt tag to the item a more graphical description of the trouble in this case i have two of mi guns, and i program them to: on right click shoot the mainhand gun, on left click it shots the off hand gun, in this video i shoot first ten times whith only the rightclick|mainhand, and latter i shoot eleven times whith only leftclick|offhand To animate the shoot in the main i manage to writte nbt only in the end part of the process so this one is tolerable but to shoot the offhand gun i must first write five nbt tags to the items tos causing the annoying switch animation ruining the graphical feeling of the dual handing guns experience for why not i just use @Override public boolean shouldCauseReequipAnimation(ItemStack oldStack, ItemStack newStack, boolean slotChanged) { int oldStackSN = util.getInttag(oldStack, "numerodeserie"); int newStackSN = util.getInttag(newStack, "numerodeserie"); if (oldStackSN == newStackSN) { return false; } return true; } this disabled completely the switch animation but also disable completely the animation from mi guns so it becomes worst at thi end ######## soo i need a way to disable that annoying motion of the item going down and up again every time i writte or update an nbt value i was thinking if its posible to write values to the item as properties and later use them to control the animations and actions some idea hot to fix this?? thank for reading [/code]
  20. well thanks i manage to generate a chest and get some loot tables but two things puzless me Block chest = Blocks.CHEST; worldIn.setBlockState(tgt, chest.getDefaultState() ); TileEntityLockableLoot te = (TileEntityLockableLoot) worldIn.getTileEntity(tgt); te.setInventorySlotContents(2, new ItemStack(MMAF.parte_culataAcero,1,0) ); //te.getLootTable(); ResourceLocation cityEnd = LootTableList.CHESTS_END_CITY_TREASURE; te.setLootTable(cityEnd, 32000000L); the first is long parameter on te.setLootTable(cityEnd, 32000000L); i think i must set some kind of ramdom here but what coulbe the limits ?? or best saying what is the minimun value whith i have loot and whats its the max value whith ill have the more of the loot. long l = ((long) (Math.random() * 9223372036854775807L )); te.setLootTable(cityEnd, l); the second is how to add mi mod items to this loot tables, in 1.8 i do ChestGenHooks.getInfo(ChestGenHooks.BONUS_CHEST).addItem(new WeightedRandomChestContent(new ItemStack(MercenaryModItems.maletin00, 1,3),1,1,15)); inside the init() from mi main class but here in 9.4 seems not to work or i must create some sort of this loot table thanks for reading
  21. good days actually im fixing mi extructures, a waled village and a sewer under and i want to make chess whith custome loot i know is diferent from what i have in 1.8 how do i fill a vainilla chest in mi extructures whith the ramdom loot youl find in a vainilla dungeon where i must look at ?? thanks for reading
  22. good days actually im fixing mi extructures, a waled village and a sewer under and i want to make chess whith custome loot i know is diferent from what i have in 1.8 how do i fill a vainilla chest in mi extructures whith the ramdom loot youl find in a vainilla dungeon where i must look at ?? thanks for reading
  23. well i find the reason coz mi blocks are not setting in the right rotations when placed, a search|replace accident but still curios by the deprecated things
  24. well i find the reason coz mi blocks are not setting in the right rotations when placed, a search|replace accident but still curios by the deprecated things
  25. good nigths i been moving mi mod to 1.9.4 and realize than all mi extructures system is fucked up the blockStates of resulting blocks are not whats itd suspouse to be so i notice this line marked as deprecated IBlockState state = bloque.getStateFromMeta(nblkstid); and so its public IBlockState getActualState(IBlockState state, IBlockAccess worldIn, BlockPos pos) { return state; } @Deprecated public IBlockState withRotation(IBlockState state, Rotation rot) { return state; } @Deprecated public IBlockState withMirror(IBlockState state, Mirror mirrorIn) { return state; } i been using all of this in mi blocks, vainilla blocks seems to still using them whithout trouble but in mi blocks i set a system out and notice than is geting -1 // #################################################################################################3 /** * Convert the given metadata into a BlockState for this Block */ @Override public IBlockState getStateFromMeta(int meta) { IBlockState estado = this.getDefaultState(); System.out.println("###### Meta ="+meta); } [21:36:17] [server thread/INFO] [sTDOUT]: [mercenarymod.blocks.slab.loza00:getStateFromMeta:338]: ###### Meta =-1 [21:36:17] [server thread/INFO] [sTDOUT]: [mercenarymod.blocks.slab.loza00:getStateFromMeta:338]: ###### Meta =-1 ############################ what is replacing the deprecated methods ?? thanks for reading
×
×
  • Create New...

Important Information

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