gnembon / carpetmod112 Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Lesser General Public License v3.0
License: GNU Lesser General Public License v3.0
Those code blocks are JavaScript. You can run those code blocks in the dev tools console.
Percentage:
sleeping_players = 6
total_players = 10
percentage = 50
var goThroughNight = sleeping_players >= total_players * (percentage / 100)
// goThroughNight = true
console.log('1', goThroughNight)
sleeping_players = 5
goThroughNight = sleeping_players >= total_players * (percentage / 100)
// goThroughNight = true
console.log('2', goThroughNight)
sleeping_players = 4
goThroughNight = sleeping_players >= total_players * (percentage / 100)
// goThroughNight = false
console.log('3', goThroughNight)
Player minimum:
sleeping_players = 2
total_players = 10
minimum = 3
var goThroughNight = sleeping_players >= minimum
// goThroughNight = false
console.log('1', goThroughNight)
sleeping_players = 4
var goThroughNight = sleeping_players >= minimum
// goThroughNight = true
console.log('2', goThroughNight)
sleeping_players = 5
var goThroughNight = sleeping_players >= minimum
// goThroughNight = true
console.log('3', goThroughNight)
Probably more of a theoretical concern since there don't seem to be any binary downloads anyway, but since minecraft is closed source, licensing mod code under the GPL can cause any contributor to prevent you from distributing binaries (with their code), like what happened to bukkit.
When enabled, players in spectator mod can move through nether and end portals. Very useful for players who have a spectator acount.
I am running carpet version v22_03_22.
I am hosting the server localy and even if i create a completly new world the rng seed command always returns seed 0
A carpet gamerule to allow dragon eggs to break bedrock at y=0, would make void perimeters much easier.
I believe so
In the newest 1.12.2 carpet server,and all fuction closed、 when a repeater be placed on a transparent block(like glass,stained glss or glowstone),it will apper and disapper instantly,normally consume the repeater in player's inventory。and if your gamemode is survival,the consumed repeater will come back when the next time you open a container(like a chest, or hopper). this is a serious bug,make a lot of machine cannot work normally。please fix this bug at your earliest convenience。
carpetmod112/carpetmodSrc/carpet/helpers/BlockRotator.java
Lines 104 to 115 in 8f443be
Please tell me the reason.
When carpet sends village NBT data to the client, the length of the NBT data can exceed the maximum custom payload length of 1048576 bytes.
Here is a crash report for an outdated version of carpet, but looking at the code suggests that the stacktrace shouldn't be that much different for the current version
---- Minecraft Crash Report ----
// Quite honestly, I wouldn't worry myself about that.
Time: 6/8/18 2:04 AM
Description: Exception ticking world
java.lang.IllegalArgumentException: Payload may not be larger than 1048576 bytes
at iw.<init>(SourceFile:33)
at net.minecraft.gnembon.carpetclient.CarpetClientServer.sender(CarpetClientServer.java:81)
at net.minecraft.gnembon.carpetclient.CarpetClientMessageHandler.sendNBTVillageData(CarpetClientMessageHandler.java:83)
at net.minecraft.gnembon.carpetclient.CarpetClientMarkers.updateClientVillageMarkers(CarpetClientMarkers.java:42)
at zo.a(VillageCollection.java:80)
at om.d(WorldServer.java:255)
at net.minecraft.server.MinecraftServer.D(MinecraftServer.java:860)
at nx.D(DedicatedServer.java:405)
at net.minecraft.server.MinecraftServer.C(MinecraftServer.java:754)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:615)
at java.lang.Thread.run(Thread.java:748)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Server thread
Stacktrace:
at iw.<init>(SourceFile:33)
at net.minecraft.gnembon.carpetclient.CarpetClientServer.sender(CarpetClientServer.java:81)
at net.minecraft.gnembon.carpetclient.CarpetClientMessageHandler.sendNBTVillageData(CarpetClientMessageHandler.java:83)
at net.minecraft.gnembon.carpetclient.CarpetClientMarkers.updateClientVillageMarkers(CarpetClientMarkers.java:42)
at zo.a(VillageCollection.java:80)
at om.d(WorldServer.java:255)
-- Affected level --
Details:
Level name: TC
All players: 1 total; [oo['Notnotkirda'/472, l='TC', x=838.19, y=70.70, z=-30.84]]
Chunk stats: ServerChunkCache: 1325 Drop: 0
Level seed: -9095450570362222980
Level generator: ID 04 - customized, ver 0. Features enabled: true
Level generator options: {"coordinateScale":684.412,"heightScale":684.412,"lowerLimitScale":512.0,"upperLimitScale":512.0,"depthNoiseScaleX":200.0,"depthNoiseScaleZ":200.0,"depthNoiseScaleExponent":0.5,"mainNoiseScaleX":80.0,"mainNoiseScaleY":160.0,"mainNoiseScaleZ":80.0,"baseSize":8.5,"stretchY":12.0,"biomeDepthWeight":1.0,"biomeDepthOffset":0.0,"biomeScaleWeight":1.0,"biomeScaleOffset":0.0,"seaLevel":63,"useCaves":true,"useDungeons":true,"dungeonChance":7,"useStrongholds":true,"useVillages":true,"useMineShafts":true,"useTemples":true,"useMonuments":true,"useMansions":true,"useRavines":true,"useWaterLakes":true,"waterLakeChance":4,"useLavaLakes":true,"lavaLakeChance":80,"useLavaOceans":false,"fixedBiome":-1,"biomeSize":4,"riverSize":4,"dirtSize":33,"dirtCount":10,"dirtMinHeight":0,"dirtMaxHeight":256,"gravelSize":33,"gravelCount":8,"gravelMinHeight":0,"gravelMaxHeight":256,"graniteSize":33,"graniteCount":10,"graniteMinHeight":0,"graniteMaxHeight":80,"dioriteSize":33,"dioriteCount":10,"dioriteMinHeight":0,"dioriteMaxHeight":80,"andesiteSize":33,"andesiteCount":10,"andesiteMinHeight":0,"andesiteMaxHeight":80,"coalSize":17,"coalCount":20,"coalMinHeight":0,"coalMaxHeight":128,"ironSize":9,"ironCount":20,"ironMinHeight":0,"ironMaxHeight":64,"goldSize":9,"goldCount":2,"goldMinHeight":0,"goldMaxHeight":32,"redstoneSize":8,"redstoneCount":8,"redstoneMinHeight":0,"redstoneMaxHeight":16,"diamondSize":8,"diamondCount":1,"diamondMinHeight":0,"diamondMaxHeight":16,"lapisSize":7,"lapisCount":1,"lapisCenterHeight":16,"lapisSpread":16}
Level spawn location: World: (96,64,236), Chunk: (at 0,4,12 in 6,14; contains blocks 96,0,224 to 111,255,239), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 418791563 game time, 256844411 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 74958 (now: false), thunder time: 9339 (now: true)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.D(MinecraftServer.java:860)
at nx.D(DedicatedServer.java:405)
at net.minecraft.server.MinecraftServer.C(MinecraftServer.java:754)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:615)
at java.lang.Thread.run(Thread.java:748)
-- System Details --
Details:
Minecraft Version: 1.12
Operating System: Linux (amd64) version 3.10.0-693.11.6.el7.x86_64
Java Version: 1.8.0_131, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 1457127264 bytes (1389 MB) / 2113929216 bytes (2016 MB) up to 2113929216 bytes (2016 MB)
JVM Flags: 17 total; -Xmx2016M -Xms2016M -XX:MetaspaceSize=32m -XX:MaxMetaspaceSize=288m -XX:CompressedClassSpaceSize=64m -XX:+UseCompressedOops -XX:+UseCompressedClassPointers -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AggressiveOpts -XX:MaxGCPauseMillis=100 -XX:TargetSurvivorRatio=90 -XX:G1MixedGCLiveThresholdPercent=50 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:InitiatingHeapOccupancyPercent=10
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
Profiler Position: N/A (disabled)
Player Count: 2 / 24; [oo['_topax'/317, l='TC', x=2.50, y=76.81, z=-2.06], oo['Notnotkirda'/472, l='TC', x=838.19, y=70.70, z=-30.84]]
Is Modded: Unknown (can't tell)
Type: Dedicated Server (map_server.txt)
Bounding box and village marker following you when you are spectating a player
I would like to propose using readthedocs and reStructured Text as a solution for documentation. The current google spreadsheets documentation is unwieldy, hard to contribute to, and lacks much of the information expected in a complete documentation.
By moving to RTD, we can make the following improvements and additions:
docs/
directory alongside the code, and the user will be able to select the documentation version to view in RTD)If this sounds good to you, I will prepare a PR with an initial documentation.
I believe the title is self-explanatory. Version is 18_7_31.
Tried it having it enabled or disabled incase true/false are swapped around.
May you please add a new carpet rule called “TNTdistancefix”? When “TNTdistanceFix” is set to true, it allows TNT to spawn correctly when ignited beyond X/Z ±8,388,608 by fixing MC-167047 and MC-125638, which Mojang did not fix in 1.12.2. This carpet rule is useful for allowing TNT based contraptions to function correctly at high coordinates such as ender pearl cannons, world eaters, TNT duplication arrays, and tunnel bores.
I'm a novice, how do I go about installing this? Do I just copy the class files from the zip into a 1.12.2 server jar or what? I heard this server software is useful, but it seems like the installation outweighs the benefits.
When you execute any worldedit command, what will happen at some point, is the call to CarpetWorld.setBlock(). Then, CarpetWorld.setBlock()
will call Chunk.setBlockState()
with this line of code
boolean successful = chunk.setBlockState(new BlockPos(x & 15, y, z & 15), newState) != null;
What will happen next, is the call to chunk.setBlockState_carpet()
that will either call Block.breakBlock()
block1.breakBlock(this.world, pos, iblockstate);
or will call Block.onBlockAdded()
block.onBlockAdded(this.world, pos, state);
As you can see, both onBlockAdded()
and breakBlock()
are expecting World
and BlockPos
as their parameters, which makes me think that they expect not "in chunk" BlockPos
, but "in world" BlockPos
. Other evidence of that is the fact that when I use worldedit anywhere in the world, to place stained glass for example, it loads chunk 0 0. It loads that chunk to do block updates, that was meant for another place in the world. I believe this is a bug.
I guess in order to fix this, we should provide "in world" BlockPos
to a chunk as a parameter. In other words, do it like so
boolean successful = chunk.setBlockState(new BlockPos(x, y, z), newState) != null;
This is not intended behaviour. The spawn chunks should only unload when disableSpawnChunks is set to true.
I had player end in the end to load dragon egg duper after restarting server, player end spawned in the overworld at the same coordinates.
If for some reason the Forge servers can't be reached the StackTraceDeobfuscator
will throw NPEs.
Example crash: https://cdn.discordapp.com/attachments/573613501164159016/739899649506410537/latest.log
The code around that spot is also a bit messy and ignores any exceptions while downloading and copying the files.
I'm probably just being an idiot, but i can't seem to get it to work? i'm pressing start, setting the minimap to follow, but nothing happens (i.e. it stays blank).
running latest java 8 (build 1.8.0_301-b09), latest carpet (21_07_25), latest carpet client(1.4c), latest liteloader 1.12.2 i grabbed off the jenkins, latest forge (2855), and nothing else. the carpet rule "chunkDebugTool" is enabled and nothing else, totally clean server. bounding boxes / villages also don't seem to work. the other carpet rules appear to work properly.
Any ideas?
The Minecraft server that any carpet mod newer than Release 19_03_08b (including Carpet_19_03_08b)
is applied to will hang up when loading a world. The server will freeze and can't response to server commands unless a forced shutdown signal sent. Both Minecraft version 1.12 and 1.12.2 encounter the same problem. However, Older versions like Carpet_19_02_17
work without any problems.
The checksums of the original server jars I used to be patched were matched with what Mojang provided, and I completely followed the instruction. I tried running a server in Windows 10 with Oracle Java 8u241
and Debian with openjdk 11
, only to come across this problem in both environments. Windows reported an Event 1002 "Application Hang" of javaw.exe and the reason was Top level window is idle
. Debian didn't provide anything useful.
[23:47:22] [main/ERROR]: Errors with built-in recipes!
[23:47:22] [Server thread/INFO]: Starting minecraft server version 1.12
[23:47:22] [Server thread/INFO]: Loading properties
[23:47:22] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: InvaildHandle
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_241]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_241]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_241]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_241]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_241]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_241]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_241]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_241]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_241]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_241]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_241]
at nx$2.run(DedicatedServer.java:102) [server.1.12.jar:?]
[23:47:22] [Server thread/INFO]: Default game type: CREATIVE
[23:47:22] [Server thread/INFO]: Generating keypair
[23:47:23] [Server thread/INFO]: Starting Minecraft server on *:25565
[23:47:23] [Server thread/INFO]: Using default channel type
[23:47:23] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[23:47:23] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[23:47:23] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[23:47:23] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[23:47:23] [Server thread/INFO]: Preparing level "world"
[23:47:23] [Thread-6/INFO]: [STDERR]: java.io.UncheckedIOException: java.io.EOFException: Unexpected end of ZLIB input stream
[23:47:23] [Thread-6/INFO]: [STDERR]: at java.io.BufferedReader$1.hasNext(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: at java.util.Iterator.forEachRemaining(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: at java.util.stream.ReferencePipeline.forEach(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: at carpet.helpers.StackTraceDeobfuscator.loadNames(StackTraceDeobfuscator.java:264)
[23:47:23] [Thread-6/INFO]: [STDERR]: at carpet.helpers.StackTraceDeobfuscator.lambda$loadMappings$1(StackTraceDeobfuscator.java:233)
[23:47:23] [Thread-6/INFO]: [STDERR]: at java.lang.Thread.run(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
[23:47:23] [Thread-6/INFO]: [STDERR]: at java.util.zip.InflaterInputStream.fill(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: at java.util.zip.InflaterInputStream.read(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: at java.util.zip.ZipInputStream.read(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: at sun.nio.cs.StreamDecoder.read(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: at java.io.InputStreamReader.read(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: at java.io.BufferedReader.fill(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: at java.io.BufferedReader.readLine(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: at java.io.BufferedReader.readLine(Unknown Source)
[23:47:23] [Thread-6/INFO]: [STDERR]: ... 12 more
[23:47:23] [Thread-5/INFO]: [STDERR]: java.io.UncheckedIOException: java.io.EOFException: Unexpected end of ZLIB input stream
[23:47:23] [Thread-5/INFO]: [STDERR]: at java.io.BufferedReader$1.hasNext(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: at java.util.Iterator.forEachRemaining(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: at java.util.stream.ReferencePipeline.forEach(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: at carpet.helpers.StackTraceDeobfuscator.loadSrg(StackTraceDeobfuscator.java:251)
[23:47:23] [Thread-5/INFO]: [STDERR]: at carpet.helpers.StackTraceDeobfuscator.lambda$loadMappings$0(StackTraceDeobfuscator.java:178)
[23:47:23] [Thread-5/INFO]: [STDERR]: at java.lang.Thread.run(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
[23:47:23] [Thread-5/INFO]: [STDERR]: at java.util.zip.InflaterInputStream.fill(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: at java.util.zip.InflaterInputStream.read(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: at java.util.zip.ZipInputStream.read(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: at sun.nio.cs.StreamDecoder.read(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: at java.io.InputStreamReader.read(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: at java.io.BufferedReader.fill(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: at java.io.BufferedReader.readLine(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: at java.io.BufferedReader.readLine(Unknown Source)
[23:47:23] [Thread-5/INFO]: [STDERR]: ... 12 more
[23:47:23] [Server thread/INFO]: Loaded 488 advancements
[23:47:23] [Server thread/INFO]: Preparing start region for level 0
I find the concept of piston translocation quite interesting so I enabled it in the carpet settings, I'm 100% sure that it's enabled but it doesn't replicated 1.9/1.10 behaviour at all, I've also tried restarting my server and again to no avail and I'm also using the latest version of carpet 1.12
What is a /carpet worldedit and how to use it?
I execute carpet 1.12.2 on my PC and send this crash report:
// Why did you do that?
Time: 9/12/20 14:24
Description: Exception in server tick loop
java.util.ConcurrentModificationException
at java.base/java.util.TreeMap.callMappingFunctionWithCheck(TreeMap.java:742)
at java.base/java.util.TreeMap.computeIfAbsent(TreeMap.java:558)
at carpet.pubsub.PubSubManager.getOrCreateNode(PubSubManager.java:38)
at carpet.pubsub.PubSubInfoProvider.<init>(PubSubInfoProvider.java:18)
at carpet.CarpetServer.onLoadAllWorlds(CarpetServer.java:81)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:324)
at nz.j(DedicatedServer.java:270)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:539)
at java.base/java.lang.Thread.run(Thread.java:832)
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: Windows 10 (amd64) version 10.0
Java Version: 15, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
Memory: 64978784 bytes (61 MB) / 176160768 bytes (168 MB) up to 4278190080 bytes (4080 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Profiler Position: N/A (disabled) Player Count: 0 / 20; []
Is Modded: Definitely; Server brand changed to 'carpetmod'
Type: Dedicated Server (map_server.txt)
How can i do to solve it?
Idk if that is sth for carpet but sth to add colour etc formatting in anvils and such would be nice
Command description for commandCameramode says: "Enables /c and /s commands to quickly switch between camera and survival modes", but /s puts you in game mode defined with property gamemode in server.properties file which is not necessary survival mode.
Setdefault feature for /log command as in /carpet setdeafult.....
As u need to type /log after every server restart, so wold be better if there was some setting to make some log rules default.....
Probably a command like:
/log setDefault [logging-option]
I cloned the repo into my PC using git clone https://github.com/gnembon/carpetmod112.git
, then went into that folder and did this:
C:\Programming\clones\carpetmod112>gradlew tasks
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
FAILURE: Build failed with an exception.
* What went wrong:
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
> Could not create service of type PluginResolutionStrategyInternal using BuildScopeServices.createPluginResolutionStrategy().
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 5s
I don't know why it happened, but I've tried doing it in other repos, deleting and trying again, it still happens.
Even when the rule craftingWindowDuplicationFix
is set to false
it acts like true
If its possible, Scarpet would be nice to have in 1.12(.2) carpet version
carpet mod v18_08_05
When server runs normally(at 20 tps), mspt is around 20. But when we are doing /tick warp, mspt drops to 2-5. I tried to remove Thread.sleep() from the main game loop, then got 2-5 mspt. Really strange behavior
Hello! We are writing a software for MinecraftServer (Mohist). Your code is of good quality. We want to use some of your code. And we will put your project on the Thanks List.
Is that OK?
Sorry for maybe bring you a trouble. The kind of old lazy chunk detector with the sand and observer which was showed in the Mr Eta 's video https://www.youtube.com/watch?v=LE6r-FltXHM&t=24s not work with the carpet rule pistonGhostblocksFix = clientandServer. And if pistonGhostblocksFix = true or pistonGhostblocksFix =false will not affect the machine. My version is maybe a little out of date which is V19_01_07. Also maybe this kind of result is intended with the carpet rule. If so please just ignore this issue. Thanks for you guys' hard work.
If you mine a crafting table, and place a shulker box in the same position, it can't be opened, and it disappears if you mine it. If you place a second shulker box in the same position, it works normally. If you place a bed where you had the crafting table, the part where the crafting table was, turns red. If the red part is the foot end, the bed drops as its original color. If the red part is the head end, the bed drops as a red bed.
https://bugs.mojang.com/browse/MC-131288
This bug is similar, but not exactly the same.
If you don't mine the box, go to creative mode, and pick block the box while holding ctrl, you see that only the first row of items is there. The other two rows are gone, and you can't get them back.
These permaloaders haven't been released or fully researched yet.
When dealing with many villages, village markers will freeze and sometimes not work at all
I have created a carpet server.jar (using masa's instructions here which have worked for me in the past).
It starts up fine, but then when I join it crashes. Here is the crash log:
[11:19:44] [Server thread/INFO]: Starting minecraft server version 1.12.2
[11:19:44] [Server thread/INFO]: Loading properties
[11:19:44] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
at java.io.FileInputStream.readBytes(Native Method) ~[?:?]
at java.io.FileInputStream.read(FileInputStream.java:271) ~[?:?]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:282) ~[?:?]
at java.io.BufferedInputStream.read(BufferedInputStream.java:343) ~[?:?]
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:297) ~[?:?]
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339) ~[?:?]
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188) ~[?:?]
at java.io.InputStreamReader.read(InputStreamReader.java:178) ~[?:?]
at java.io.BufferedReader.fill(BufferedReader.java:161) ~[?:?]
at java.io.BufferedReader.readLine(BufferedReader.java:329) ~[?:?]
at java.io.BufferedReader.readLine(BufferedReader.java:396) ~[?:?]
at nz$2.run(DedicatedServer.java:105) [carpet_server.jar:?]
[11:19:44] [Server thread/INFO]: Default game type: CREATIVE
[11:19:44] [Server thread/INFO]: Generating keypair
[11:19:44] [Server thread/INFO]: Starting Minecraft server on *:25565
[11:19:44] [Server thread/INFO]: Using default channel type
[11:19:45] [Server thread/INFO]: Preparing level "world"
[11:19:46] [Server thread/INFO]: Loaded 488 advancements
[11:19:46] [Server thread/INFO]: Preparing start region for level 0
[11:19:47] [Server thread/INFO]: Preparing spawn area: 0%
[11:19:48] [Server thread/INFO]: Preparing spawn area: 13%
[11:19:49] [Server thread/INFO]: Preparing spawn area: 71%
[11:19:49] [Server thread/INFO]: Done (4.853s)! For help, type "help" or "?"
[11:20:09] [User Authenticator #1/INFO]: UUID of player Ghoulboy is dd736e6b-438f-423f-9392-f8542d53cda9
[11:20:09] [Server thread/INFO]: Ghoulboy[/127.0.0.1:58729] logged in with entity id 301 at (0.0, 0.0, 0.0)
[11:20:09] [Server thread/INFO]: Ghoulboy joined the game
[11:20:11] [Server thread/FATAL]: Error executing task
java.util.concurrent.ExecutionException: java.lang.reflect.InaccessibleObjectException: Unable to make field private transient java.util.HashMap java.util.HashSet.map accessible: module java.base does not "opens java.util" to unnamed module @50c87b21
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:?]
at java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[?:?]
at h.a(Util.java:23) [carpet_server.jar:?]
at net.minecraft.server.MinecraftServer.D(MinecraftServer.java:825) [carpet_server.jar:?]
at nz.D(DedicatedServer.java:410) [carpet_server.jar:?]
at net.minecraft.server.MinecraftServer.C(MinecraftServer.java:746) [carpet_server.jar:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:602) [carpet_server.jar:?]
at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private transient java.util.HashMap java.util.HashSet.map accessible: module java.base does not "opens java.util" to unnamed module @50c87b21
at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357) ~[?:?]
at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297) ~[?:?]
at java.lang.reflect.Field.checkCanSetAccessible(Field.java:177) ~[?:?]
at java.lang.reflect.Field.setAccessible(Field.java:171) ~[?:?]
at carpet.utils.UnloadOrder.getCurrentHashSize(UnloadOrder.java:107) ~[carpet_server.jar:?]
at carpet.CarpetServer.lambda$onLoadAllWorlds$0(CarpetServer.java:82) ~[carpet_server.jar:?]
at carpet.pubsub.PubSubInfoProvider.get(PubSubInfoProvider.java:65) ~[carpet_server.jar:?]
at carpet.pubsub.PubSubNode.onSubscribe(PubSubNode.java:84) ~[carpet_server.jar:?]
at carpet.pubsub.PubSubNode.subscribe(PubSubNode.java:73) ~[carpet_server.jar:?]
at carpet.pubsub.PubSubManager.subscribe(PubSubManager.java:60) ~[carpet_server.jar:?]
at carpet.pubsub.PubSubMessenger.subscribe(PubSubMessenger.java:70) ~[carpet_server.jar:?]
at carpet.pubsub.PubSubMessenger.onCustomPayload(PubSubMessenger.java:155) ~[carpet_server.jar:?]
at carpet.network.PluginChannelManager.process(PluginChannelManager.java:69) ~[carpet_server.jar:?]
at pa.a(NetHandlerPlayServer.java:1929) ~[carpet_server.jar:?]
at lh.a(SourceFile:58) ~[carpet_server.jar:?]
at lh.a(SourceFile:8) ~[carpet_server.jar:?]
at hv$1.run(SourceFile:13) ~[carpet_server.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at h.a(Util.java:22) ~[carpet_server.jar:?]
... 5 more
[11:20:13] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.reflect.InaccessibleObjectException: Unable to make field private transient java.util.HashMap java.util.HashSet.map accessible: module java.base does not "opens java.util" to unnamed module @50c87b21
at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357) ~[?:?]
at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297) ~[?:?]
at java.lang.reflect.Field.checkCanSetAccessible(Field.java:177) ~[?:?]
at java.lang.reflect.Field.setAccessible(Field.java:171) ~[?:?]
at carpet.utils.UnloadOrder.getCurrentHashSize(UnloadOrder.java:107) ~[carpet_server.jar:?]
at carpet.CarpetServer.lambda$onLoadAllWorlds$0(CarpetServer.java:82) ~[carpet_server.jar:?]
at carpet.pubsub.PubSubInfoProvider.get(PubSubInfoProvider.java:65) ~[carpet_server.jar:?]
at carpet.pubsub.PubSubNode.update(PubSubNode.java:145) ~[carpet_server.jar:?]
at carpet.pubsub.PubSubNode.update(PubSubNode.java:148) ~[carpet_server.jar:?]
at carpet.pubsub.PubSubNode.update(PubSubNode.java:148) ~[carpet_server.jar:?]
at carpet.pubsub.PubSubNode.update(PubSubNode.java:148) ~[carpet_server.jar:?]
at carpet.pubsub.PubSubNode.update(PubSubNode.java:148) ~[carpet_server.jar:?]
at carpet.pubsub.PubSubNode.update(PubSubNode.java:148) ~[carpet_server.jar:?]
at carpet.pubsub.PubSubManager.update(PubSubManager.java:72) ~[carpet_server.jar:?]
at carpet.CarpetServer.tick(CarpetServer.java:119) ~[carpet_server.jar:?]
at net.minecraft.server.MinecraftServer.C(MinecraftServer.java:732) ~[carpet_server.jar:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:602) [carpet_server.jar:?]
at java.lang.Thread.run(Thread.java:831) [?:?]
[11:20:13] [Server thread/ERROR]: This crash report has been saved to: C:\myfilepath\.\crash-reports\crash-2021-08-20_11.20.13-server.txt
[11:20:13] [Server thread/INFO]: Stopping server
[11:20:13] [Server thread/INFO]: Saving players
[11:20:13] [Server thread/INFO]: Saving worlds
[11:20:13] [Server thread/INFO]: Saving chunks for level 'world'/overworld
[11:20:14] [Server thread/INFO]: Saving chunks for level 'world'/the_nether
[11:20:14] [Server thread/INFO]: Saving chunks for level 'world'/the_end
[11:20:15] [Server Shutdown Thread/INFO]: Stopping server
[11:20:15] [Server Shutdown Thread/INFO]: Saving players
On my client, I see myself join, and then just before I can begin to move my player about it crashes and kicks me out.
I also tried this on older versions, and it is still an issue, so idk if it's a bug with carpet or a problem with what I'm doing tbh.
If publicKick is false, then operators and even console can't kick players
I was messing around with instant scheduling on a creative carpet server, and for some reason I decided to set it to false permanently. Next time the server restarted, in was in an infinite and very rapid crash loop. The only way to fix this was editing carpet.conf
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.