#mod-dev-talk Friday 6 November 2020
283 messages4 people
- D
- D
- D10:18Not yet, i need to finish this work assignment i have for college
- D
- A
- D
- A13:57I'll stay here confy with my java and mixins
- D
- A
- DDont ask me: https://discord.com/invite/46JUdQb14:01@Deleted User u wanted documentation? here it is: https://github.com/SirLich/bedrock-harvester/tree/master/output(edited)
GitHub
SirLich/bedrock-harvesterDocumentation scraper for Bedrock Minecraft documentation, - SirLich/bedrock-harvester14:01Oh you like bedrock? Name every microtransaction
@Azzyypaaras you sure? - A
- D
- A
- D14:06What does it look like?
- AWHY THE FUCK DO SKYROOT BUCKETS REIMPLEMENT THE WHOLE BUCKET CLASS INSTEAD OF EXTENDING IT14:07AAA
- D14:08Does it work? Leave it if it does
- A
- D
- A14:08
This alone is already fucking nastyprivate static final HashMap<Identifier, AetherAccessory> ACCESSORY_REGISTRY = new HashMap<>(); private static final HashMap<Identifier, AetherEnchantment> ENCHANTMENT_REGISTRY = new HashMap<>(); private static final HashMap<Identifier, AetherFreezable> FREEZABLE_REGISTRY = new HashMap<>(); private static final HashMap<Identifier, AetherEnchantmentFuel> ENCHANTMENT_FUEL_REGISTRY = new HashMap<>(); private static final HashMap<Identifier, AetherFreezableFuel> FREEZABLE_FUEL_REGISTRY = new HashMap<>(); private static final HashMap<Identifier, MoaType> MOA_REGISTRY = new HashMap<>(); private static final AetherAPI INSTANCE = new AetherAPI(); private static int moaListSize; public AetherAPI() { } public static IPlayerAether get(PlayerEntity player) { return ((IEntityPlayerAether) player).getPlayerAether(); }14:08What the fuck is going on with players on the bottom - D
- AWhy are there 5 fucking registries, I can assure you at least 3 of those will be unnecessary14:09That is probably accurate, but still14:09I am going to axe this thing and rebuild from its ashes14:12oh god why are classes prefixed with type instead of affixed with it14:12aaaaaaaAAAAAAAA14:12None of the items are final
- D14:12and calm down
- A
- D
- A
- D
- A
- D
- A
- D
- A
- D14:20you don't have to rewrite
- A
- D
- D
- A
- D
- A
- D
- A17:21deleting...
- A
- A
- D
- D
- C
oh god why are classes prefixed with type instead of affixed with it
@Azzyypaaras One thing to note is that most of the code retains Kinos way of doing stuff18:03From 1.14.0 - A
- D
- A
- D19:23Why is your FOV Quake pro?(edited)
- A
- D
- A
- D
- C
Quake pro is the optimal fov and anything else is heresy
Second this, Quake pro is only FOV19:31I'm no longer used to anything else xD - A19:32After that I am nuking #unknown again(edited)
- C
- D
- A19:34master or snapshot
- D
- A19:34Have you asked in the fabricord?
- D
- A
- C
- D
- C19:39Pull
- D
- C19:40Whats the latest commit id it says your on
- D
- C
- D
- C
- DSame error @CDAGaming https://i.imgur.com/RABy8cK.png
- C19:44As those 3 errors aren't possible, it's using the full fabric api atm xD
- D
dependencies { // To change the versions see the gradle.properties file minecraft "com.mojang:minecraft:${project.minecraft_version}" mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2" modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" // Libraries modImplementation(include("com.jamieswhiteshirt:reach-entity-attributes:1.0.1")) modImplementation(include(group: "net.fabricmc", name: "fabric-language-kotlin", version: "1.4.0+build.1")) // Implement the required portions of FAPI // Remember to maintain these, and add the modular bits as needed. modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8" // Testing only, do not JiJ //modImplementation "io.github.prospector:modmenu:1.14.6+build.31" //modRuntime "me.shedaniel:RoughlyEnoughItems:5.6.2" // PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs. // You may need to force-disable transitiveness on them. } - C
- D
- C
- D19:47
I've seen a lot of errors in my time xD
@CDAGaming I don't think you are that old - C@Azzyypaaras I presume both the functions in AetherEvents aren't needed since the mixins presumably good now?19:48
UseBlockandActivatePortal - A19:48(the methods)
- C
- D
- A
- C
This is all the AetherEvents has left nowpackage com.aether; import net.minecraft.server.MinecraftServer; import net.minecraft.server.network.ServerPlayerEntity; import net.minecraft.world.World; public class AetherEvents { public static void ServerTickEnd(MinecraftServer server) { server.getPlayerManager().getPlayerList().forEach((ServerPlayerEntity player) -> { if (player.getY() < 10 && "the_aether".equals(player.world.getRegistryKey().getValue().getPath())) { //TODO: Tweak y coordinate and disable fall damage player.teleport(server.getWorld(World.OVERWORLD), player.getX(), 200, player.getZ(), player.yaw, player.pitch); } }); } }19:50Azzy, work on replacing this so i can yeet it too - A19:50yis
- D
- C
- D
- A
- C
- D
- A
- D
- A
- D19:55Just gonna implement the code/json stuff
- A
- D
- A19:55Armors don't use json
- D
- A19:56Nvm recipes are json too yeah
- D
- A
- D
- A
- D
- C
- D
- C20:00I legit read that as Grass
- A
- C
Someone tried to take the shortcut, though afaik Kino had to manually replicate the same logic for the Aether I suppose we could do a mixin to have it go to the Aether when netherportal cooldown ends if we're in the aether's portal block and not the netherspublic void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) { if (!entity.hasVehicle() && !entity.hasPassengers() && entity.canUsePortals()) { entity.setInNetherPortal(pos); } }20:03This is likely why it's going to the nether atm20:04Yup, it is, just checked mc sources and yeah just doing that on it's own will have it go nether - A
- C
- A20:08yikes
- C
- D20:50Google is your friend
- D
- C
- A
- D
- C
- A
- C
- D
- A21:24I just added new emots

- D
- A
- D
- A@Deleted User there is a path to advanced visual effects, though the way there may be treacherous...22:01Pinned
GitHub
Ladysnake/SatinA Fabric library to help with shader usage. Contribute to Ladysnake/Satin development by creating an account on GitHub.22:01I have done bloom with this before, if you know your way around gsls you can do great things - D22:01Love and hate
Deleted User pinned a message.
- D
Deleted User pinned a message.
- C
- A










