Giter Club home page Giter Club logo

archeology-mod's Introduction

๐ŸŽฏ About

Hi, my name is Caps Lock. I am self-taught programmer. I have worked on C# (Unity Engine), Java (FabricMC), GDScript (Godot Engine), C, Python and Rust. Just under this section you can find contact information and some interesting repos to look at.

My GitHub stats

๐Ÿ“ฌ Contact

  1. Itch.io: capsey.itch.io
  2. Twitter: @capsey_
  3. Telegram: @capsey
  4. VK: @capsey
  5. Email: [email protected]

archeology-mod's People

Contributors

capsey avatar skzgx avatar triphora avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

yaodaosang

archeology-mod's Issues

Dyeing the Clay Pots

Add feature for using Dyes on a (Hardened) Clay Pots for changing color OR adding colored patters on it for further customization without using non-renewable Ceramic Shards.

Additionally, using a Water Bottle on a dyed pot to remove a dye.

Clay Pot better pickblock and placing

Add feature to pickblock a Raw Clay Pot or (Hardened) Clay Pot with all shards (similar to colored Banner). Also, for sake of convenience, add that placed Clay Pot with shards will place it not in orientation they were at the moment of pickblock, but depending on player facing.

Add brushing indicator

While brushing, show how well player is doing by changing the XP bar to a bar of how good they are moving the camera:

  • Completely filled bar is red, indicating that player is not moving the camera enough and block is going to break
  • Half filled bar is orange indicating that player is close to not breaking the block
  • Not filled bar is green indicating that player is making progress

Change config

  • Replace deprecated AutoConfig
  • Separate client config from shared (server)

Dogs digging Excavation Blocks

Tamed dogs can occasionally dig out excavation blocks, helping player in excavation process. Either will occur randomly, or by some kind of interaction with a dog

Server Crash

Hello, I tried the new file but get this error;

[01:44:47] [main/INFO]: Loading Minecraft 1.18.1 with Fabric Loader 0.12.11
[01:44:48] [main/WARN]: Warnings were found!
 - Mod 'Fabric Rendering Fluids (v1)' (fabric-rendering-fluids-v1) 0.1.18+3ac43d95c8 recommends any version of fabric-textures-v0, which is disabled for this environment (client/server only)!
	 - You should install any version of fabric-textures-v0 for the optimal experience.
[01:44:48] [main/INFO]: Loading 40 mods:
	- archeology 0.1.5
	- cloth-basic-math 0.6.0 via cloth-config
	- cloth-config 6.1.48
	- fabric 0.44.0+1.18
	- fabric-api-base 0.4.1+b4f4f6cdc8 via fabric
	- fabric-api-lookup-api-v1 1.4.0+16d92c47c8 via fabric
	- fabric-biome-api-v1 6.0.1+ded849a9c8 via fabric
	- fabric-command-api-v1 1.1.6+3ac43d95c8 via fabric
	- fabric-commands-v0 0.2.5+b4f4f6cdc8 via fabric
	- fabric-containers-v0 0.1.18+d154e2c6c8 via fabric
	- fabric-content-registries-v0 0.4.5+6f53a73dc8 via fabric
	- fabric-crash-report-info-v1 0.1.8+3ac43d95c8 via fabric
	- fabric-dimensions-v1 2.1.7+43d29571c8 via fabric
	- fabric-entity-events-v1 1.4.5+6b21378ac8 via fabric
	- fabric-events-interaction-v0 0.4.16+bfa23f17c8 via fabric
	- fabric-events-lifecycle-v0 0.2.6+b4f4f6cdc8 via fabric
	- fabric-game-rule-api-v1 1.0.10+3ac43d95c8 via fabric
	- fabric-item-api-v1 1.3.0+691a79b5c8 via fabric
	- fabric-item-groups-v0 0.3.3+3ac43d95c8 via fabric
	- fabric-lifecycle-events-v1 1.4.10+c15ca335c8 via fabric
	- fabric-loot-tables-v1 1.0.8+3ac43d95c8 via fabric
	- fabric-mining-level-api-v1 1.0.3+3ac43d95c8 via fabric
	- fabric-mining-levels-v0 0.1.7+b4f4f6cdc8 via fabric
	- fabric-networking-api-v1 1.0.18+3ac43d95c8 via fabric
	- fabric-networking-v0 0.3.5+b4f4f6cdc8 via fabric
	- fabric-object-builder-api-v1 1.11.0+3b82842ec8 via fabric
	- fabric-object-builders-v0 0.7.8+3ac43d95c8 via fabric
	- fabric-particles-v1 0.2.9+526dc1acc8 via fabric
	- fabric-registry-sync-v0 0.8.5+3ac43d95c8 via fabric
	- fabric-rendering-data-attachment-v1 0.3.4+7242e9d7c8 via fabric
	- fabric-rendering-fluids-v1 0.1.18+3ac43d95c8 via fabric
	- fabric-resource-loader-v0 0.4.11+3ac43d95c8 via fabric
	- fabric-screen-handler-api-v1 1.1.11+3ac43d95c8 via fabric
	- fabric-structure-api-v1 2.0.8+295197a7c8 via fabric
	- fabric-tag-extensions-v0 1.2.5+3ac43d95c8 via fabric
	- fabric-tool-attribute-api-v1 1.3.4+7de09f55c8 via fabric
	- fabric-transfer-api-v1 1.5.5+b4f4f6cdc8 via fabric
	- fabricloader 0.12.11
	- java 17
	- minecraft 1.18.1
[01:44:48] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=file:/home/mch/multicraft/servers/server114936/libraries/net/fabricmc/sponge-mixin/0.10.7+mixin.0.8.4/sponge-mixin-0.10.7+mixin.0.8.4.jar Service=Knot/Fabric Env=SERVER
[01:44:48] [main/INFO]: Compatibility level set to JAVA_16
[01:44:52] [main/WARN]: @Inject(@At("INVOKE")) Shift.BY=3 on fabric-lifecycle-events-v1.mixins.json:server.WorldChunkMixin::handler$zcj000$onLoadBlockEntity exceeds the maximum allowed value: 0. Increase the value of maxShiftBy to suppress this warning.
[01:44:56] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[01:44:58] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[01:44:58] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[01:44:58] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[01:44:58] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[01:44:58] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[01:44:58] [main/INFO]: Reloading ResourceManager: Default, Fabric Mods (CapsLock Archeology Mod, Fabric Tool Attribute API (v1))
[01:44:58] [Worker-Main-32/ERROR]: Couldn't load tag archeology:clay_pots as it is missing following references: archeology:clay_pot (from CapsLock Archeology Mod)
[01:44:58] [Worker-Main-32/ERROR]: Couldn't load tag minecraft:dirt as it is missing following references: archeology:excavation_dirt (from CapsLock Archeology Mod)
[01:44:58] [Worker-Main-32/ERROR]: Couldn't load tag minecraft:moss_replaceable as it is missing following references: #minecraft:dirt (from Default)
[01:44:58] [Worker-Main-32/ERROR]: Couldn't load tag minecraft:lush_ground_replaceable as it is missing following references: #minecraft:moss_replaceable (from Default)
[01:44:58] [Worker-Main-32/ERROR]: Couldn't load tag minecraft:azalea_root_replaceable as it is missing following references: #minecraft:lush_ground_replaceable (from Default)
[01:44:58] [Worker-Main-32/ERROR]: Couldn't load tag minecraft:azalea_grows_on as it is missing following references: #minecraft:dirt (from Default)
[01:44:58] [Worker-Main-32/ERROR]: Couldn't load tag minecraft:enderman_holdable as it is missing following references: #minecraft:dirt (from Default)
[01:44:58] [Worker-Main-32/ERROR]: Couldn't load tag minecraft:bamboo_plantable_on as it is missing following references: #minecraft:dirt (from Default),#archeology:clay_pots (from CapsLock Archeology Mod)
[01:44:58] [Worker-Main-32/ERROR]: Couldn't load tag minecraft:big_dripleaf_placeable as it is missing following references: #minecraft:dirt (from Default)
[01:44:58] [Worker-Main-32/ERROR]: Couldn't load tag minecraft:mineable/shovel as it is missing following references: archeology:raw_clay_pot (from CapsLock Archeology Mod),archeology:excavation_dirt (from CapsLock Archeology Mod),archeology:excavation_gravel (from CapsLock Archeology Mod)
[01:44:58] [Worker-Main-32/ERROR]: Couldn't load tag archeology:excavation_blocks as it is missing following references: archeology:excavation_dirt (from CapsLock Archeology Mod),archeology:excavation_gravel (from CapsLock Archeology Mod)
[01:44:58] [main/WARN]: Failed to load datapacks, can't proceed with server load. You can either fix your datapacks or reset to vanilla with --safeMode
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Missing required tags: ResourceKey[minecraft:root / minecraft:block]:minecraft:azalea_grows_on,ResourceKey[minecraft:root / minecraft:block]:minecraft:azalea_root_replaceable,ResourceKey[minecraft:root / minecraft:block]:minecraft:bamboo_plantable_on,ResourceKey[minecraft:root / minecraft:block]:minecraft:big_dripleaf_placeable,ResourceKey[minecraft:root / minecraft:block]:minecraft:dirt,ResourceKey[minecraft:root / minecraft:block]:minecraft:enderman_holdable,ResourceKey[minecraft:root / minecraft:block]:minecraft:lush_ground_replaceable,ResourceKey[minecraft:root / minecraft:block]:minecraft:mineable/shovel,ResourceKey[minecraft:root / minecraft:block]:minecraft:moss_replaceable
	at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396) ~[?:?]
	at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073) ~[?:?]
	at net.minecraft.server.Main.main(Main.java:163) [server-intermediary.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:602) [fabric-loader-0.12.11.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77) [fabric-loader-0.12.11.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.12.11.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:66) [fabric-loader-0.12.11.jar:?]
Caused by: java.lang.IllegalStateException: Missing required tags: ResourceKey[minecraft:root / minecraft:block]:minecraft:azalea_grows_on,ResourceKey[minecraft:root / minecraft:block]:minecraft:azalea_root_replaceable,ResourceKey[minecraft:root / minecraft:block]:minecraft:bamboo_plantable_on,ResourceKey[minecraft:root / minecraft:block]:minecraft:big_dripleaf_placeable,ResourceKey[minecraft:root / minecraft:block]:minecraft:dirt,ResourceKey[minecraft:root / minecraft:block]:minecraft:enderman_holdable,ResourceKey[minecraft:root / minecraft:block]:minecraft:lush_ground_replaceable,ResourceKey[minecraft:root / minecraft:block]:minecraft:mineable/shovel,ResourceKey[minecraft:root / minecraft:block]:minecraft:moss_replaceable
	at net.minecraft.class_3505.method_33182(class_3505.java:55) ~[server-intermediary.jar:?]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) ~[?:?]
	at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
	at net.minecraft.class_4014.method_18365(class_4014.java:71) ~[server-intermediary.jar:?]
	at net.minecraft.class_4014.method_18367(class_4014.java:70) ~[server-intermediary.jar:?]
	at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
	at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2147) ~[?:?]
	at net.minecraft.class_4014$1.method_18374(class_4014.java:53) ~[server-intermediary.jar:?]
	at net.minecraft.class_4014$1.method_18352(class_4014.java:50) ~[server-intermediary.jar:?]
	at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150) ~[?:?]
	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773) ~[?:?]
	at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]

I uninstalled my other mods to try this with just fabric api and cloth config installed as well.

Silk Touching hardened Clay Pots

Add ability to break already hardened Clay Pots using Silk Touch enchantment and obtaining it as an item. Both shards and items would still be inside of the block. Items would still be only obtainable by breaking the pot (without silk touch), so it's like early game Shulker Box that requires silk touch

Mixin Server Crash

Hello, I love this mod and works amazing on single player. However, on my server I get this error;

[03:22:15] [main/WARN]: Error loading class: net/minecraft/class_746 (java.lang.ClassNotFoundException: net/minecraft/class_746) [03:22:15] [main/WARN]: @Mixin target net.minecraft.class_746 was not found archeology.mixins.json:entity.ClientPlayerEntityMixin [03:22:20] [main/WARN]: @Inject(@At("INVOKE")) Shift.BY=3 on fabric-lifecycle-events-v1.mixins.json:server.WorldChunkMixin::handler$zef000$onLoadBlockEntity exceeds the maximum allowed value: 0. Increase the value of maxShiftBy to suppress this warning.

Hope this helps! I would love to get this on my server to play around with. By the way, great job!

Other players crash when excavating blocks on LAN worlds/dedicated servers

to reproduce have one player start a server (Open to LAN or dedicated server) & attempt to brush an excavation block with a second player nearby.
(The player who crashes (the one not excavating) needs to have the excavating player loaded in as well).

`Description: Ticking entity

java.lang.ClassCastException: class net.minecraft.class_745 cannot be cast to class net.capsey.archeology.entity.BrushingPlayerEntity (net.minecraft.class_745 and net.capsey.archeology.entity.BrushingPlayerEntity are in unnamed module of loader`
crash-2022-10-03_13.14.16-client.txt

Clay Pot flashing on landing

When a Clay Pot is landing after being Falling Block Entity, it becomes invisible before block appears, unlike vanilla Sand

Disconnected from Server while attempting to use brush.

In singleplayer all works fine, but when I connect to a server running the mod and attempt to do any archaeology, I got disconnected from the server. I see the block transition to a one layer lower model, and the brushing animation works, but then I just get disconnected.

On the server side, I get this error:

[17:59:50] [Server thread/WARN]: COM exception: Invalid Query: SELECT PERCENTUSAGE FROM Win32_PerfRawData_PerfOS_PagingFile
[17:59:50] [Server thread/WARN]: Failed to handle packet for /192.168.0.14:51533
net.minecraft.class_148: Ticking player
at net.minecraft.class_3222.method_14226(class_3222.java:543) ~[server-intermediary.jar:?]
at net.minecraft.class_3244.method_18784(class_3244.java:213) ~[server-intermediary.jar:?]
at net.minecraft.class_2535.method_10754(class_2535.java:238) ~[server-intermediary.jar:?]
at net.minecraft.class_3242.method_14357(class_3242.java:183) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:890) ~[server-intermediary.jar:?]
at net.minecraft.class_3176.method_3813(class_3176.java:324) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:823) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:684) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270) ~[server-intermediary.jar:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.RuntimeException: Config 'class net.capsey.archeology.ModConfig' has not been registered
at me.shedaniel.autoconfig.AutoConfig.getConfigHolder(AutoConfig.java:77) ~[cloth-config-6.0.45-fabric.jar:?]
at net.capsey.archeology.items.CopperBrushItem.method_7853(CopperBrushItem.java:103) ~[capsey-archeology-0.1.6-1.18.jar:?]
at net.minecraft.class_1799.method_7976(class_1799.java:532) ~[server-intermediary.jar:?]
at net.minecraft.class_1309.method_6098(class_1309.java:3041) ~[server-intermediary.jar:?]
at net.minecraft.class_1309.method_37119(class_1309.java:2956) ~[server-intermediary.jar:?]
at net.minecraft.class_3222.method_37119(class_3222.java:1645) ~[server-intermediary.jar:?]
at net.minecraft.class_1309.method_6076(class_1309.java:2946) ~[server-intermediary.jar:?]
at net.minecraft.class_1309.method_5773(class_1309.java:2312) ~[server-intermediary.jar:?]
at net.minecraft.class_1657.method_5773(class_1657.java:274) ~[server-intermediary.jar:?]
at net.minecraft.class_3222.method_14226(class_3222.java:479) ~[server-intermediary.jar:?]
... 9 more
[17:59:50] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 7178ms or 143 ticks behind

Accidental breaking after brushing

When brushing finishes (or fails) and there's another excavation block in the way of crosshair, the blocks will instantly break because game stops player from brushing after another block started brushing

Clay Pot contents gets send to players

Intended that players don't get Clay Pot contents information. This decreases network packet size and do not allow cheats to show contents without breaking

Clay statues

Statues made of clay that can be found in in excavation sites or hidden rooms (#35)

Screenshot

Item duplication on 1.19.2 Fabric

This mod allows an easy duplication of arbitrary items. It's kinda major I think as it breaks balance and competition for SMP.

Version tested: capsey-archeology-0.1.10-1.19.jar on regular Minecraft 1.19.2 with Fabric.

Items needed to reproduce:

  • archeology:clay_pot
  • hopper (to insert items to be duplicated to a pot)
  • end portal
  • some height above the portal (6 blocks)
  • fence under the portal

Steps to reproduce:

  • one person should be standing in the End dimension loading chunk (maybe not needed)
  • another person should place a clay pot with items in it at the height of 6 blocks above the portal on a solid block
  • a block on which the clay pot is standing on must be destroyed

Outcome: 2 clay pots are teleported to the same place in the End. One is intact with all items in it and one is instantly destroyed with duplicated items falling to the ground near it.

Proposed solution: do not allow any items to be inserted into a clay pot or any item with anvil physics which has inventory.

Copper Brush breaks too fast

Copper Brush durability fully drains after a couple of blocks brushed. This should not be the case and happened due to tweaking in brushing speed a bug

Hidden room

You can find binded compass that leads to hidden buried room with precious loot (similar to buried treasure map)

Request permission to carry archeology-mod to MCBBS

Hi, I am a Chinese user, I have used archeology-mod for a long time, I always download every update to see if there is anything new. It does a great job, and it's very much like what Mojang describes in Minecraft Live.
But China doesn't have normal fast access to curseforge and GitHub.Can I apply for permission to carry archeology-mod to MCBBS (a Chinese Minecraft forum) so that more Chinese players can use it?Thank you very much!

Maps to ruins

Please add a feature to get maps to ruins. These maps are like treasure maps or maps to mansions or temples. They can be obtained like the other maps in the game. So they can found as loot from chests in ship wrecks or other treasures and they can be traded from a cartographer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.