corgam / cagedmobs Goto Github PK
View Code? Open in Web Editor NEWCagedMobs repository
License: GNU Lesser General Public License v2.1
CagedMobs repository
License: GNU Lesser General Public License v2.1
Waterlogging of cages could allow for water environments for water creatures.
Hello, the author of Caged Mods, thank you very much for making this great Mods. Due to the limited access to CurseForge in China, many Minecraft players in China cannot download Caged Mods quickly. I sincerely request that you authorize the largest Minecraft Mods Wiki in China: mcmod ( WWW.MCMOD.CN) has the right to download Caged Mods, and mcmod promises: after authorization, it will provide Mod files consistent with the official, signed the original author, will not tamper with the Mods gameplay, will not attach malicious files, and will not bundle any downloads Tools or plug-ins.
Since Caged Mods does not have an official Chinese name, I hope to get a Chinese name approved by you. My personal translation is:生物笼
Crash when loading JEI in-game
using a lot of mods so if you can't fix the conflict no worries :)
It happens sometimes when using the sampler, left-clicking on a mob and then both the player's hand are filled with the samplers. The item that was originally on the off-hand got replaced, and the item is lost.
I don't remember having any strength effect when I tried, but when I tried to sample a rabbit I would insta-kill it and I wouldn't get the sample in the dna sampler
Hi,I am using your mod for the game.This is a very convenient mod,and I noticed that this mod does not have zh_cn.lang.So I took the en_us.lang in the mod as a sample for translation.
zh_cn.zip
The game crashes when trying to load some of the ice and fire mobs. I think they are doing something weird with rendering.
Maybe you could implement something that catches NullPointerExceptions and just renders nothing instead?
Pastebin: https://pastebin.pl/view/67262950
Aternos states that,
"The author of this project does not allow project distribution."
When attempting to add the mod to the site in order to add the mod to servers.
Hi! I just wanted to tell you Corgam that the slime cage(And possibly others) have mismatched blocks in JEI or it's some other programming problem.
Problem: In the JEI Menu it says that one of the two environments for slimes is "Stone" but when you place Stone in the cage and then try to add Slime DNA it says that it isn't a suitable environment.
Why does the mob inside not show when on a server? Also, the mob picture and name does not show when looking at what the cage can produce for mobs that were added with craft tweaker.
the Ender Golem and Titan text + pictures do not show in multiplayer, making it where players dont know what entity they need to hit with dna picker to get the drop
also, entities do not render in multiplayer, why is that?
1.16.4, latest version
I have a MC 1.16.3 Forge Server and 2 Forge clients who connect.
Using your latest version: cagedmobs-1.16.4-1.2.1.jar
Sampled a Minecraft: cow, put hay in the cage, right clicked with the sample and my client crashed.
Restarted MC and tried to log in again, crashed immediately.
Had optifine G5 and Latest OptiForge installed and thought that was the problem. Removed Optifine and OptiForge from client, Log in still crashes the client.
It's like i'm stuck in the GUI of the cage. Every time i log in i see i'm still in the GUI and then crashes.
I did it (player 1), but player 2 also can't log in anymore. So can't log into the server anymore.
If can supply any extra information please let me know.
grtz,
Machinegun Marty
When I left click with an item in my Off-hand, and a Diamond syringe (not sure about iron or netherite), it leaves a ghost syringe in the main-hand and replaces the off-hand item with the resulting syringe.
I am playing with other mods, and I will list them for testing in case it's not replicable with just this mod.
Ars Nouveau
Blood Magic
Citadel
Cyclic
Ice and Fire
Industrial Foregoing
Ring of Repair [FORGE]
Titanium
AttributeFix
Better Beacon Placement
Better Burning
Bookshelf
Caelus API (Forge)
Caged Mobs (This mod)
Cloth Config API (Forge)
Collective
Controlling
Curio of Undying (Forge)
Curios API (Forge)
Curious Elytra (Forge)
Dark Utilities
Easy Villagers
GeckoLib
Healing Campfire
Iron Chests
Just Another Rotten Flesh to Leather Mod
JEI
JER
Light Overlay (Rift/Forge/Fabric)
Mineral Chance
MmmMmmMmmMmm
More Dragon Eggs
Mouse Tweaks
No Hostiles Around Campfire
No Nitwits
Patchouli
Placebo
Refined Storage
Refined Storage Addons
Runelic
Solar Flux Reborn
Storage Drawers
Waystones
Wither Skeleton Tweaks
I would love love love to use this mod in my pack - but - it can be a bit strong and nullify a lot of other mods being able to produce the drops of so many critters. I greatly appreciate the ability to turn off the hopping version. Adding in a blacklist or whitelist of mobs to allow or disallow (or even all) would be great. This would allow me to still have a farm for one resource but not that precious other one they need to quest for. Or just being able to turn off all the drops still allows the use of the aesthetic beauty of these models in a pack. Thanks for the mod and I hope you consider my request/suggestion. <3
Currently cages and hopping cages do not work if connected directly to Importers - items are not pulled out of regular cages, and hopping cages cannot push items either. It would be great if this could be addressed, though I am unsure how realistic the request is.
https://gist.github.com/celsiusqc/1fa3028e196e92b9f43dc4493a281dcc
Without optifine, problem goes away.
With optifine the problem occurs.
The support team at optifine pointed towards your mod after being provided this debug.log
Hopefully you can fix this soon.
It seems that the
" import mods.cagedmobs.CTAdditionalLoot;
val additionalLoots = recipetype:cagedmobs:additional_loot_data;"
is invalid. I am using all three (entity, environment, loot) the only one not working is loot. It says so in the chat when I reload
Client Crash after show Recepie in Jei
crash-2020-11-04_21.57.16-client.txt
When using your mod in tandem with the Not Enough Wands Moving Wand item, caged will get stuck at 100% rather than dumping into a chest.
For some reason, if you have an item in your offhand and use the syringe, it'll delete that item and replace it with another syringe. Lost two shields doing this.
This mods looks awesome, but it crashes my dedicated server
log: https://pastebin.com/iDrsK28q
Produces null:null when trying to use .getEntities() via CraftTweaker Scripts. Minor bug shouldn't cause any errors.
I'm aware that the rendering of entites from other mods (supported or added by users) is still not working on multiplayer, both inside the cages and in JEI.
I'm working on fixing it, but it's not so easy to find out what's causing the problem.
Nevertheless, sampling and getting the drops still works, but without visual feedback (The One Probe and Hwyla still works too, if you want to know the growth %).
So basically the server starts and runs fine but as soon as someone tries to join they get this error (internal exception: ionetty.handler.codec.DecoderException:java.lang.illegalState.exception: failed to read mobData from packet buffer.
Im not 100% Sure if this is to do with something on my side but if i remove the mod from both server and client then it runs fine cheers
The mod has it so you can only deal damage to the mob with a pickaxe, since you need to damage the mob for the sampler to register, this make Grottols unregistable even in Creative.
When i rightclick a cage with a dna sampler the game crashes with this error: https://pastebin.com/tq42CAaa
Just updated to the latest version and getting this crash. Looks like the mod is trying to pickup some client features while running on a server
It just chinks off, like I'm using something other than a pickaxe, and doesn't give take a sample.
I recently updated the mod from 1.3.8 to 2.0.1 and a CraftTweaker script I was using broke. I replaced mob_data
with entity_data
, but I'm still getting errors from CraftTweaker.
This is from a modpack called (Not Too Complicated 2)[https://github.com/MechOrigin/NTC2] in case you need to test. Though I could probably come up with a script that breaks using only vanilla items if that were easier.
Apologies if this is really obvious, I'm a novice in the area.
Relevant section of the log:
excerpt:
[01:17:23] [Render thread/INFO] [minecraft/NewChatGui]: [CHAT] [ERROR] CagedMobs.zs:34:14 CagedMobs.zs:34:14: No such member: getEntity
[01:17:23] [Render thread/INFO] [minecraft/NewChatGui]: [CHAT] [ERROR] CagedMobs.zs:35:4 CagedMobs.zs:35:4: No such symbol: cow
The edited script:
excerpt:
import mods.cagedmobs.EntitiesManager;
// ...
val entities = <recipetype:cagedmobs:entity_data>;
val cow = entities.getEntity( "cagedmobs:mobs/cow");
cow.addLoot(<item:miniutilities:experience_pearl>, 0.2, 1, 3);
cow.addLoot(<item:mysticalagriculture:inferium_essence>, 0.25, 1, 3);
I looked through the commit history and I can't see anything that would directly affect the getEntity function. I'm not sure what would cause this.
Unrelated but all of my empty cages and higher tier syringes were deleted from my inventory despite your changelog:
thus possibly all cages already placed in the world will disappear.
To not lose items, before updating, remove all cages, their upgrades, and DNA samples.
I can track this down to the item IDs being changed mobcage
->mob_cage
etc. Not too much of a problem since I can enable cheats over LAN. But I figured I'd mention it.
Hello,
Have you planned to add the possibility of deleting loot by datapack?
In the same way as the addition (cagedmobs:additional_loot_data)
So something like (cagedmobs:remove_loot_data)
Thank you for your work
2020-11-10-1.log
cagedmobs-1.16.4-1.2.3.jar
forge-1.16.4-35.0.7.jar
Started a new server yesterday with cagedmobs-1.16.4-1.2.2.jar.
Today i did my Mod update check and downloaded: cagedmobs-1.16.4-1.2.3.jar.
Server and client start with no problems.
When trying to connect to the server it gives this message:
Connection Lost
Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IllegalStateException: Failed to read mob data from packetbuffer. This is really bad.
I can only go back to the server listing.
I downloaded a couple of updates of mods so i tested by adding them one by one and this one pops up the error.
Going back to cagedmobs-1.16.4-1.2.2.jar on server and client fixes the error and i can log in again.
I want to bring up a special mob in this thread, that is Grottols from Mowzie's Mobs. Grottols are passive typed mobs that spawn naturally in diamond levels, their design consist of diamonds growing from them, plus, they drop diamonds and burry themself into stone or dirt if possible. Therefore, their matching spawning block should be stone or diamond ores instead, not only that will fit with the mob's lore, but it will also raise the spawing requirement for a mob with such as overpowered drop.
Hello, I keep getting kicked from my server, I checked the logs and the reason seems to be:
[13:11:38] [Render thread/ERROR]: Error getting cached entity!
java.lang.NullPointerException: null
at com.corgam.cagedmobs.tileEntities.MobCageTE.getCachedEntity(MobCageTE.java:82) [?:1.16.4-1.2.6]
at com.corgam.cagedmobs.tileEntities.MobCageRenderer.render(MobCageRenderer.java:54) [?:1.16.4-1.2.6]
at com.corgam.cagedmobs.tileEntities.MobCageRenderer.func_225616_a_(MobCageRenderer.java:32) [?:1.16.4-1.2.6]
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_228855_a_(TileEntityRendererDispatcher.java:101) [?:?]
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.lambda$renderTileEntity$0(TileEntityRendererDispatcher.java:85) [?:?]
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher$$Lambda$29064/1417189218.run(Unknown Source) [?:?]
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_228853_a_(TileEntityRendererDispatcher.java:118) [?:?]
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_228850_a_(TileEntityRendererDispatcher.java:84) [?:?]
at net.minecraft.client.renderer.WorldRenderer.func_228426_a_(WorldRenderer.java:1043) [?:?]
at net.minecraft.client.renderer.GameRenderer.func_228378_a_(GameRenderer.java:607) [?:?]
at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:425) [?:?]
at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:976) [?:?]
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) [?:?]
at net.minecraft.client.main.Main.main(Main.java:184) [?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]
at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.4-35.1.36.jar:35.1]
at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$491/905654793.call(Unknown Source) [forge-1.16.4-35.1.36.jar:35.1]
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.6.jar:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.6.jar:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.6.jar:?]
at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.6.jar:?]
at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.6.jar:?]
Is there any way to fix this, or can you do anything about it?
Within multiplayer servers the entities do not display within the cages, it worked in the same modpack in single player. Upon using the cages in multiplayer entities are no longer visible in their cages, so I assume it has something to do with multiplayer.
Hey, I'm sorry if there is any reason this isn't a thing yet.. It seems like the mod is still adding support for another mod in the recent update. So, could we possibly get a list of other mods that this mod will probably have a support to? It would be really helpful. like really, for modpackers. :) Even the list shows "none".
Using latest 1.5.1 in my modpack, AQM3, Caged Mobs do not drop any items in hopper cage or regular cage. Have placed chests underneath, nothing. have tried numerous entities, nothing.
I went on your discord and saw people said to "Break it and replace it" to which I have, still nothing. All that did was reset the cage to not have a entity in it, and give me back the block used for the environment.
Forge 40.1.59
crash-2022-07-26_11.48.59-fml.txt
The regular cage and the hopper cage do not accept the hay bale block. Regular clicking and shift-clicking make no difference. Instead, the hay bale is placed as a block next to the cage.
This has been tested in 1.16.3 with Forge 34.1.25 using the mod version 1.2.3 and no other mods installed.
Goal:
Adding loot from vampirism and werewolves mods
Skill at scripting: poop emoji
Attempt after reading instructions in https://github.com/Corgam/CagedMobs/wiki/CraftTweaker-support#adding-new-entity:
import mods.cagedmobs.EntitiesManager;
import mods.cagedmobs.EnvironmentsManager;
import mods.vampirism;
import mods.werewolves;
val entities = <recipetype:cagedmobs:mob_data>;
val envs = <recipetype:cagedmobs:env_data>;
val dirt = envs.getEnvironment("cagedmobs:envs/dirt");
// Simple entity with more environments: create(id, entityType, growTicks, ifRequiresWaterloggedCage, tier, environments list)
// The id string cannot contain any capital letters or spaces.
val hunter = entities.create("vampirism:hunter_imob",<entitytype:vampirism:hunter>, 1800, false, 1, ["dirt"]);
// New additional loot: create(id, entityType).
// The id string cannot contain any capital letters or spaces.
val human_heart = additionalLoots.create("vampirism:human_heart",<entitytype:vampirism:hunter>);
// New additional loot: create(id, entityType).
// The id string cannot contain any capital letters or spaces.
val liver = additionalLoots.create("werewolves:liver",<entitytype:werewolves:human_werewolf>);
// addLoot(item, chance, minDrop, maxDrop) - 20% chance for dropping from 1 to 3 pistons
hunter.addLoot(<item:vampirism:human_heart>, 0.2, 1);
hunter.addLoot(<item:werewolves:liver>, 0.2, 1);
Results: overwhelm on where to go from here
As the title says, could you add some way to configure the environmental blocks for specific entities and maybe even another config to whitelist or blacklist entities from being used?
As title, I can't sample both kinds of spider, and I assume it's because of the spider 2.0 mod.
Per LGPL, the recipient is allowed to redistribute binaries. But, your permissions contain "You are allowed to repost Caged Mobs only when the download link redirects to the CurseForge page," which conflicts with LGPL allowing to redistribute the binary. Please remove that line of text. (You of course can't stop licensing this as LGPL.)
Would it be possible to get an upgrade or config option to have the cages run faster? Also an upgrade like looting to get more drops from the mobs?
As title says, I would like to request loot support for Craft and Hunt. Things like the various hides, chitins, and meats added by the mod, including the ability to sample other vanilla mobs like foxes, bats, etc.
I think the title pretty much covers it.
Minecraft Version: 1.16.4
Forge Version: 35.1.13
Mod Version: cagedmobs-1.16.4-1.2.6
When harvesting Wither Skeletons, the "Wither skeleton skull" item in never dropped, only bones and coal.
When wither skeletons are killed normally in the world, they do drop the skulls
Hello, I want to use this mod in my pack and I want to make it so the caged mob farming method will be extremely difficult to exploit. I intended it to have dna samplers to have no recipe what so ever and can only be obtained as a rare loots from dungeons, and after one use, they will break, add in extra effort to have many mobs farmed.
My request are:
The reason to why I don't ask for cage's recipe to be disabled is because I want to use them as common decoration around my base.
i seem to be getting errors like this:
at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?] {}
[11:17:25] [Render thread/ERROR] [co.co.ca.CagedMobs/]: Error getting cached entity!
java.lang.NullPointerException: null
i'd have posted the full log but it was nearly 2gb...
please feel free to ask any questions and I can try to generate a smaller log to show off the issue if need be
I made a small modpack for me and my friends on our server, no integration or anything just the plain mods.
On 1.16.3 if the dna sampler has dna in it and is used on the mobcage with the correct terrain it will crash or reload the chunk you were in.
On 1.16.4 if the dna sampler has dna in it and is used on the mobcage with the correct terrain it will not activate and no mob will grow (tested with hay entities and stone entities)
both of these were found true when the mod was by itself as well
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.