• Recently Browsing

    No registered users viewing this page.

  • Posts

    • Classic sign of someone who isn't interested in producing content that actually works.
    • if (state.getValue(FACING) != EnumFacing.DOWN || state.getValue(FACING) != EnumFacing.UP) { That will always be true. If the facing is UP, then this looks like if(false OR true). False or true is true. If the facing is DOWN then it would read if(true OR false). False or true is true. A good thing, too, otherwise you'd get a NPE.   BlockPos blockpos1 = pos.up(); You now set this value to the pos above the pos passed, as opposed to the pos above the bottom you just worked out. blockpos1 is now two above blockpos. if (state.getValue(PART) == BlockAFP.EnumPartType.DOWN && worldIn.getBlockState(blockpos1).getBlock() == this) { if (player.capabilities.isCreativeMode) { worldIn.setBlockToAir(pos); } worldIn.setBlockToAir(blockpos1); } So if the top location is this block, set the location passed to this method to air? Did you mean blockpos1? Oh also, you set it blockpos1 to air anyway regardless of creative mode, so I guess that check is pointless... else { //TODO how to check for the block? } Uh, what does this comment even mean?  
    • ---- Minecraft Crash Report ---- WARNING: coremods are present:   llibrary (llibrary-core-1.0.11-1.12.2.jar)   CreativePatchingLoader (CreativeCore_v1.9.74_mc1.12.2.jar)   iceandfire (iceandfire-1.8.3.jar)   CTMCorePlugin (CTM-MC1.12.2-1.0.1.30.jar)   OTGCorePlugin (OTG-Core.jar)   MalisisCorePlugin (malisiscore-1.12.2-6.5.1.jar)   McLib core mod (mclib-1.0.3-1.12.2 (1).jar)   McLib core mod (mclib-1.0.3-1.12.2.jar) Contact their authors BEFORE contacting forge // Shall we play a game? Time: 12/6/19 4:36 PM Description: Unexpected error java.lang.NoSuchFieldError: field_191308_b     at net.optifine.config.ConnectedParser.parseEntities(ConnectedParser.java:1248)     at net.optifine.shaders.EntityAliases.loadEntityAliases(EntityAliases.java:164)     at net.optifine.shaders.EntityAliases.update(EntityAliases.java:89)     at net.optifine.shaders.EntityAliases.resourcesReloaded(EntityAliases.java:61)     at net.optifine.shaders.Shaders.resourcesReloaded(Shaders.java:5939)     at net.optifine.util.TextureUtils.resourcesReloaded(TextureUtils.java:321)     at net.optifine.util.TextureUtils$1.func_110549_a(TextureUtils.java:362)     at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110542_a(SimpleReloadableResourceManager.java:121)     at net.optifine.util.TextureUtils.registerResourceListener(TextureUtils.java:366)     at net.minecraft.client.renderer.EntityRenderer.frameInit(EntityRenderer.java:2809)     at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1307)     at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1119)     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398)     at net.minecraft.client.main.Main.main(SourceFile:123)     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 net.minecraft.launchwrapper.Launch.launch(Launch.java:135)     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details:     Minecraft Version: 1.12.2     Operating System: Mac OS X (x86_64) version 10.12.6     Java Version: 1.8.0_74, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 426597592 bytes (406 MB) / 805306368 bytes (768 MB) up to 2147483648 bytes (2048 MB)     JVM Flags: 7 total; -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0     FML: MCP 9.42 Powered by Forge 14.23.5.2847 Optifine OptiFine_1.12.2_HD_U_F5 41 mods loaded, 0 mods active     States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored     | State | ID                   | Version               | Source                                        | Signature |     |:----- |:-------------------- |:--------------------- |:--------------------------------------------- |:--------- |     |       | minecraft            | 1.12.2                | minecraft.jar                                 | None      |     |       | mcp                  | 9.42                  | minecraft.jar                                 | None      |     |       | FML                  | 8.0.99.99             | forge-1.12.2-14.23.5.2847.jar                 | None      |     |       | forge                | 14.23.5.2847          | forge-1.12.2-14.23.5.2847.jar                 | None      |     |       | creativecoredummy    | 1.0.0                 | minecraft.jar                                 | None      |     |       | otgcore              | 1.12.2 - v8.3         | minecraft.jar                                 | None      |     |       | mclib_core           | 1.0.3                 | minecraft.jar                                 | None      |     |       | mclib_core           | 1.0.3                 | minecraft.jar                                 | None      |     |       | securitycraft        | v1.8.14.1             | [1.12.2]+SecurityCraft+v1.8.14.1.jar          | None      |     |       | baubles              | 1.5.2                 | Baubles-1.12-1.5.2.jar                        | None      |     |       | biomesoplenty        | 7.0.1.2441            | BiomesOPlenty-1.12.2-7.0.1.2441-universal.jar | None      |     |       | chisel               | MC1.12.2-1.0.1.44     | Chisel-MC1.12.2-1.0.1.44.jar                  | None      |     |       | creativecore         | 1.9.9                 | CreativeCore_v1.9.74_mc1.12.2.jar             | None      |     |       | ctm                  | MC1.12.2-1.0.1.30     | CTM-MC1.12.2-1.0.1.30.jar                     | None      |     |       | props                | 2.6.3                 | Decocraft-2.6.3_1.12.2.jar                    | None      |     |       | dynamictrees         | 1.12.2-0.9.6          | DynamicTrees-1.12.2-0.9.6.jar                 | None      |     |       | emoticons            | 0.3.2                 | emoticons-0.3.2-1.12.2-dist.jar               | None      |     |       | enhancedvisuals      | 1.0                   | EnhancedVisuals_v1.2.7_mc1.12.2.jar           | None      |     |       | extrautils2          | 1.0                   | extrautils2-1.12-1.9.9.jar                    | None      |     |       | eyesinthedarkness    | 0.0.5                 | EyesInTheDarkness-0.0.5.jar                   | None      |     |       | farfromhome          | 1.0                   | Far_From_Home-1.12.2-3.5.jar                  | None      |     |       | fossil               | 8.0.3                 | fossilsarcheology-8.0.3 (1).jar               | None      |     |       | iceandfire           | 1.8.3                 | iceandfire-1.8.3.jar                          | None      |     |       | infernalmobs         | 1.7.6                 | InfernalMobs-1.12.2.jar                       | None      |     |       | jei                  | 4.15.0.291            | jei_1.12.2-4.15.0.291.jar                     | None      |     |       | journeymap           | 1.12.2-5.5.5          | journeymap-1.12.2-5.5.5.jar                   | None      |     |       | leatherworks         | 1.78.0                | LeatherWorks-1.12-1.78.0.42.jar               | None      |     |       | malisiscore          | 1.12.2-6.5.1-SNAPSHOT | malisiscore-1.12.2-6.5.1.jar                  | None      |     |       | malisisdoors         | 1.12.2-7.3.0          | malisisdoors-1.12.2-7.3.0.jar                 | None      |     |       | mca                  | 6.0.1                 | MCA-1.12.2-6.0.1-universal.jar                | None      |     |       | mclib                | 1.0.3                 | mclib-1.0.3-1.12.2 (1).jar                    | None      |     |       | mclib                | 1.0.3                 | mclib-1.0.3-1.12.2.jar                        | None      |     |       | mowziesmobs          | 1.5.4                 | mowziesmobs-1.5.4.jar                         | None      |     |       | neat                 | 1.4-17                | Neat+1.4-17.jar                               | None      |     |       | openterraingenerator | v8.3                  | OpenTerrainGenerator-1.12.2+-+v8.3.jar        | None      |     |       | playerrevive         | 1.0                   | PlayerRevive_v1.2.28_mc1.12.2.jar             | None      |     |       | ptrmodellib          | 1.0.4                 | PTRLib-1.0.4.jar                              | None      |     |       | rustic               | 1.1.1                 | rustic-1.1.1.jar                              | None      |     |       | spartanshields       | 1.5.4                 | SpartanShields-1.12.2-1.5.4.jar               | None      |     |       | tombstone            | 3.6.2                 | tombstone-3.6.2-1.12.2.jar                    | None      |     |       | llibrary             | 1.7.19                | llibrary-1.7.19-1.12.2.jar                    | None      |     Loaded coremods (and transformers):  llibrary (llibrary-core-1.0.11-1.12.2.jar)   net.ilexiconn.llibrary.server.core.plugin.LLibraryTransformer   net.ilexiconn.llibrary.server.core.patcher.LLibraryRuntimePatcher CreativePatchingLoader (CreativeCore_v1.9.74_mc1.12.2.jar)    iceandfire (iceandfire-1.8.3.jar)   com.github.alexthe666.iceandfire.patcher.IceAndFireRuntimePatcher CTMCorePlugin (CTM-MC1.12.2-1.0.1.30.jar)   team.chisel.ctm.client.asm.CTMTransformer OTGCorePlugin (OTG-Core.jar)   com.pg85.otg.forge.asm.excluded.OTGClassTransformer MalisisCorePlugin (malisiscore-1.12.2-6.5.1.jar)    McLib core mod (mclib-1.0.3-1.12.2 (1).jar)   mchorse.mclib.core.McLibCMClassTransformer McLib core mod (mclib-1.0.3-1.12.2.jar)   mchorse.mclib.core.McLibCMClassTransformer     Launched Version: 1.12.2-forge1.12.2-14.23.5.2847     LWJGL: 2.9.2     OpenGL: Intel(R) Iris(TM) Pro Graphics 6200 GL version 2.1 INTEL-10.25.24, Intel Inc.     GL Caps: VboRegions not supported, missing: OpenGL 1.3, ARB_copy_buffer Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because ARB_framebuffer_object is supported and separate blending is supported. Shaders are available because OpenGL 2.1 is supported. VBOs are available because OpenGL 1.5 is supported.     Using VBOs: Yes     Is Modded: Definitely; Client brand changed to 'fml,forge'     Type: Client (map_client.txt)     Resource Packs: Sapixcraft 64x MC1.12.zip     Current Language: Español (España)     Profiler Position: N/A (disabled)     CPU: 8x Intel(R) Core(TM) i7-5775R CPU @ 3.30GHz     OptiFine Version: OptiFine_1.12.2_HD_U_F5     OptiFine Build: 20191204-141934     Render Distance Chunks: 5     Mipmaps: 4     Anisotropic Filtering: 1     Antialiasing: 0     Multitexture: false     Shaders: Sildurs Vibrant Shaders v1.262 Extreme.zip     OpenGlVersion: 2.1 INTEL-10.25.24     OpenGlRenderer: Intel(R) Iris(TM) Pro Graphics 6200     OpenGlVendor: Intel Inc.     CpuCount: 8
    • Well, you're doing it here. But you should actually be writing a pos there, not reading one.
    • you said get the pos from the packet buffer. how exactly do i do that?
  • Topics

  • Who's Online (See full list)