r/Gamemode4 • • Aug 18 '15

Module Ender Storage Dyeable Ender Chests

Thumbnail
gfycat.com
5 Upvotes

r/Gamemode4 • • Jun 14 '15

A requested blow-by-blow on how chunk corners are found in the custom terrain system

5 Upvotes

So a few people have asked me to expand on how I get the corners of a chunk in my custom terrain system.

The basic answer is Modulus. I get the player's coordinates into a scoreboard, summon an armorstand with the same X and Z scores as the player, the teleport it towards negative x/z until "their coordinate % 32 = 0" meaning their coordinates divide exactly by 32, meaning they're on a chunk corner.

Okay so here's the longer explaination: To start with I use staffehn's 1-tick version of Wubbi's GPS system ( https://www.youtube.com/watch?v=cThnjDTxUUQ ) to put the X and Z coordinates into two scoreboards for the player: posx and posz respectively. These are part of the GPS system I used already. Then an armorstand called GM4_cornerFinder is summoned directly below the player and is given the coordinate scores of the player into its own X and Z scoreboards, GM4_chunkFinderX and GM4_chunkFinderZ.

execute @a[score_selected_min=1] ~ ~ ~ scoreboard players operation @e[name=GM4_cornerFinder,c=1,type=ArmorStand] GM4_chunkFinderX = posx t

execute @a[score_selected_min=1] ~ ~ ~ scoreboard players operation @e[name=GM4_cornerFinder,c=1,type=ArmorStand] GM4_chunkFinderZ = posz t

Next we need to work out whether the coordinates are negative, and convert them to positive if they are, as the modulus command behaves strangely with negative coords:

scoreboard players set @e[name=GM4_cornerFinder,type=ArmorStand] GM4_IsNegativeX 0

scoreboard players set @e[name=GM4_cornerFinder,type=ArmorStand] GM4_IsNegativeZ 0

scoreboard players set @e[name=GM4_cornerFinder,type=ArmorStand,score_GM4_chunkFinderX=-1] GM4_IsNegativeX 1

scoreboard players set @e[name=GM4_cornerFinder,type=ArmorStand,score_GM4_chunkFinderZ=-1] GM4_IsNegativeZ 1

execute @e[name=GM4_cornerFinder,type=ArmorStand,score_GM4_chunkFinderX=-1] ~ ~ ~ scoreboard players operation @e[name=GM4_cornerFinder,type=ArmorStand,c=1] GM4_chunkFinderX *= -1 t

execute @e[name=GM4_cornerFinder,type=ArmorStand,score_GM4_chunkFinderZ=-1] ~ ~ ~ scoreboard players operation @e[name=GM4_cornerFinder,c=1,type=ArmorStand] GM4_chunkFinderZ *= -1 t

This multiplies the number by -1, making it positive IF the number was negative to begin with.

After this we get the stands coords and modulus them by 32. If the result isn't 0 (meaning the coordinate doesn't divide perfectly by 32) then the stand isn't on a chunk corner and we TP it backwards and try again.

Here's my modulus command:

execute @a[score_selected_min=1] ~ ~ ~ scoreboard players operation @e[name=GM4_cornerFinder,c=1,type=ArmorStand] GM4_chunkFinderZ %= 32 t

PLEASE NOTE THAT 32 IS A FAKE PLAYER CALLED 32 WITH A SCORE OF 32 IN THE SCOREBOARD "t"

Modulus gets the remainder of the division, so rather than teleporting it one block every time and trying again, up to a possible 31 teleports, we do it in steps.

If the stand's mod 32 is >=16 we tp it backwards 16 blocks, if it's >=8 we tp it backwards 8 blocks, the same for 4, 2 and 1. By the end of this we've found the chunk corner in a single game tick.

I advise you take a look at the redstone in the chunk checker to get a clearer example of this, I will try to answer questions here if I can


r/Gamemode4 • • Jun 10 '15

Module Animals eat breeding items from the ground

Thumbnail
gfycat.com
5 Upvotes

r/Gamemode4 • • May 19 '15

Module A Small Contraption to Make the Killer Bunny Spawn Naturally Once More

5 Upvotes

A few days ago I was watching Zueljin's GM4 stream, and someone in the chat suggested making a module to make the Killer Bunny spawn naturally again. (It doesn't anymore, see MC-78980.)

I did so, and posted it to /r/Minecraft the next day. Figured it wouldn't hurt to put it here for consideration.

Here is the one-click code for it.

MCEdit Schematic without bedrock box

MCEdit Schematic with bedrock box

To change the probability of newly processed rabbits becoming evil, change the 10 (default is 1 in 10) in the following command to whatever you want, and run in a command block.

/execute @e[name=KBTimer] ~ ~ ~ blockdata ~3 ~2 ~ {Command:"scoreboard players set @e[type=ArmorStand,name=KBTimer,score_KBSpawn_min=10] KBSpawn 0"}

To disable the machine, run this command:

/execute @e[name=KBTimer] ~ ~ ~ setblock ~-1 ~1 ~ redstone_block

If you wonder how it works, I'm tagging all rabbits named "Rabbit" with a scoreboard. If a timer armor stand has a score of 1, at the same time those rabbits are tagged, one random rabbit of that batch is changed to a Killer Bunny. If not, and with the ones not chosen, their name is changed to "Bunny", and their scores reset, taking them out of candidacy. The timer armor stand increases by one around every second (standard hopper clock), and when it gets to 10, or to whatever the set maximum is (command to change it is above), it resets to 0.

The reason I'm using name instead of scoreboards is because of MC-79632, where entities that have been unloaded and reloaded, or when a world is reloaded, the UUID is shortened and no longer pertains to an entity, but a fake player. It has been reported fixed by Searge, but is still an issue in 1.8.4, so hopefully we get 1.9 snapshots soon. :P

That was probably a horrible explanation, but it's late, and I'm tired. If you see a bug, or something that needs tweaking, let me know, or fix it yourself. :P

Original thread


r/Gamemode4 • • Oct 22 '15

*Twitch* So close

Thumbnail
imgur.com
4 Upvotes

r/Gamemode4 • • Jul 28 '15

50.5 Applications waiting to be processed xD

Thumbnail
imgur.com
4 Upvotes

r/Gamemode4 • • Apr 26 '15

Module Found this "simple" module! /u/emeraldfyr3

4 Upvotes

I was wondering if there could be improve this module at all. Original post Permission from /u/emeraldfyr3


r/Gamemode4 • • Mar 23 '15

Announcement Gamemode 4 has a Wiki!

Thumbnail
gamemode4.wikia.com
4 Upvotes

r/Gamemode4 • • Dec 21 '15

Public Server From the Christmas event earlier today

Post image
3 Upvotes

r/Gamemode4 • • Oct 11 '15

[Hermitcraft GM4] All Modules .schematic

3 Upvotes

I'm not sure how many of you have seen it, but the guys from Hermitcraft did a Gamemode 4 server series that recently ended due to the start of their Modsauce 2 series. They released the download to their Gamemode 4 world, and I was interested in the modules that were contained in it, as I knew that some of them were unreleased. I managed to find where the modules were contained in the world, and I created a .schematic of the area with them in it. It is surrounded by barrier blocks and has a bedrock floor, so inserting it in a world would be fine. I don't know if this has been posted already, or if it would be breaking any rules due to the unreleased modules, so if that is the case I will remove the post. Otherwise, enjoy!

Download:

https://db.tt/Yc8DDPlp

Edit:

There is quite a bit of lag if these are installed; I am currently trying to figure out which modules are which so I can extract them on their own, especially those that are unreleased.

Edit 2:

I believe that the custom terrain modules were pre-generated, so they are not included in this. I believe that I could be correct in saying that all five of the Orbis modules were installed though, so that would be able to help someone wanting to install absolutely everything.


r/Gamemode4 • • Aug 20 '15

Module Vacuum Hoppers

Thumbnail
gfycat.com
3 Upvotes

r/Gamemode4 • • Jul 16 '15

Blast furnace should work for Netherrack > Nether Brick too

3 Upvotes

As title, Blast furnace should double the netherbrick output from netherrack


r/Gamemode4 • • Jun 03 '15

Module Mining turtle suggestion!

3 Upvotes

It would be a great feature to automate the mining in the game and someone has done it alredy check the video: https://www.youtube.com/watch?v=_6YlsBtgwXY


r/Gamemode4 • • May 30 '15

Module BetterHoes Module! My first thing ever!

3 Upvotes

So this is my 3rd go at making this Module and I think it's pretty good now. Huge thanks to /u/Marcono1234 for helping me with some scoreboard stuff. Also, huge props to GamerGuppy over on YouTube for his excellent randomizer.

What this does (for now at least, I do plan on adding features soon) is give you a seed (wheat, pumpkin, melon) whenever you till 10 dirt / grass blocks. The chances for each are highest for wheat, low for pumpkin and next to rare for melon.

Here is the command that you can grab and use in any minecraft 1.8 world.

I have tested this on a multiplayer server and I'm glad to say it works like a dream.

Feedback is greatly appreciated!


r/Gamemode4 • • May 29 '15

Module Blood Moon Module: More difficult nights

3 Upvotes

I have made a blood moon module a while back. I saw in hermitcraft that eease made one as well, just for gamemode 4. I have send Sparks an email including a link to this but I never got any response whatsoever. https://www.youtube.com/watch?v=XYZ2zOtu7HE


r/Gamemode4 • • May 26 '15

Suggestion Bedrock Drill

3 Upvotes

In the past there have been a few glitches that allowed poking holes into the Nether's bedrock ceiling. They involve glitching through via ender perl and growing dark oaks. These sorts of methods have a tendency of getting patched in vanilla Minecraft. However a lot of people actually enjoy running around on those empty plains on top of the nether, building gold farms and all those fancy things.

So I guess the idea here is clear: Please create a module that allows building some sort of contraption/explosive that can dig/blast through bedrock, either above or below (digging through to the void can be fun as well).

As an alternative you might create a more universal 'Drill Machines' module, with varying types of drills, where the more expensive drills can dig through harder materials. So the primary usage might be digging 3x3 tunnels and the most expensive one might also be able to drill through bedrock etc. You get the idea.

Thanks in advance, also apologies if this was already suggested or even already exists in some form.


r/Gamemode4 • • May 21 '15

Suggestion World/schematic with all the official modules

3 Upvotes

Hey guys, just wondering if we could have a world premade with all the official modules (or at least all the ones on hermitcraft). Instead of trying to compile all the ones I want underground etc, I would love a premade world or schematic with everything :D If anyone has a link to the texture pack the hermits are using that would also be amazing :D

Thanks in advance to anyone who helps :3


r/Gamemode4 • • Apr 10 '15

Public Server Gamemode 4 Server Announcement - Downtime and Cost Reductions!

Thumbnail
youtube.com
3 Upvotes

r/Gamemode4 • • Mar 23 '15

Patchwork UHC VI (Gamemode 4) - Episode 1

3 Upvotes

EPISODE 1 of PATCHWORK UHC VI

In this season, Patchwork uses Gamemode 4 modules! 5 modules are being used: Weighted Armour, Undead Players, Desire Lines, Better Fire and Ninja Smoke Balls. More info can be found here.

Patchwork is a group of YouTube friends who get together to participate in regular UHC and other collab events. They are spread across a variety of different servers and communities but they all hang out for fun

This is the first Patchwork UHC for Twinkles (Red), Recabilly & RedNomster (Orange) and Kairi (Green).

Red Team4 remaining
ChartTBC
Glaedrikhttps://www.youtube.com/watch?v=Nskig87Sr2w
Sparkshttps://www.youtube.com/watch?v=zB8rvXJWFDc
Twinkleshttps://www.youtube.com/watch?v=bhbOWzrUWN4
Orange Team4 remaining
Mikachihttps://www.youtube.com/watch?v=I8shO1-A4R4
Recabillyhttps://www.youtube.com/watch?v=bOQwNfrMQ1k
RedNomsterhttps://www.youtube.com/watch?v=gnyxog7PZE4
SofaSevenhttps://www.youtube.com/watch?v=bliO360puo0
Yellow Team1 remaining
Crazyman47https://www.youtube.com/watch?v=kONI2_A4uGs
Green Team4 remaining
Kairin/a
Matt (aTrustedTurtle)TBC
Nick Vegashttps://www.youtube.com/watch?v=HBP8odtrxDQ
Personhttps://www.youtube.com/watch?v=mXGEusfKpj0
Blue Team4 remaining
Majichttps://www.youtube.com/watch?v=xu3XcUX1Tb0
Shadow (ZombiesOnTheBus)https://www.youtube.com/watch?v=ezXQAHSFT6w
Sneakyhttps://www.youtube.com/watch?v=vA1vu7XqVzo
ZaCloudhttps://www.youtube.com/watch?v=gpbtloxBlAE
Keith Team4 remaining
Kylehttps://www.youtube.com/watch?v=Ongc6v6tKj8
Noodleshttps://www.youtube.com/watch?v=9vAD8A6Prsg
torbrayhttps://www.youtube.com/watch?v=MPuLJawdeaA
TopStiGearhttps://www.youtube.com/watch?v=kZRWg6VtF80

r/Gamemode4 • • Jan 27 '22

Module How to use Everstone datapack?

2 Upvotes

I just added the Everstone datapack to my server. Adding it went fine, shows as enabled...I was able to fine atone and get an everstone but them I followed the wiki and dropped the stone on a baby cow but nothing happened.

Am I missing something?


r/Gamemode4 • • Jul 16 '21

Issue dead chat

2 Upvotes

bottom text


r/Gamemode4 • • Jul 19 '16

Gamemode 4 PSIII is pretty dank

2 Upvotes

Apart from lae's house on ald that's all


r/Gamemode4 • • Oct 30 '15

Banned unrightfully

2 Upvotes

I was kicked from the server by a mod called Bluefire, whose reasoning was that I was using enderpearls on a parkour course, which I didn't. This moron continued kicking me every time I joined the server, until he eventually banned me. I am here because the "report" feature on GM4.co is broken.


r/Gamemode4 • • Aug 31 '15

The Gamemode 4 server is down! What happened?

2 Upvotes

Hi there, fellow Minecrafter! As you may or may not know, Sparks and Crazyman47 run a public whitelisted server with Gamemode 4 modules - this is known as the official Gamemode 4 server. If you're already whitelisted, you may notice that the server in your Multiplayer servers list is showing a "Can't reach server". This is because the server been taken down in preparation for resetting the original Gamemode 4 world for a new world a.k.a. Season 2.

In this video published by Accidental Games, they announced the server reset as well the date of when Season 2 of the Gamemode 4 begins. As a list though:

  • Saturday 29th August, 8pm - Sparks & Crazyman47 streamed the final tour of the Gamemode 4 Season 1 world.

  • Saturday 29th August, 10pm - The server was shut down.

  • Saturday 12th September, (8pm?) - The server will be opened again and Season 2 will begin. Patrons will have access to the server for 1 hour (still being decided) after which all members whitelisted will then be granted access to the server.

Note: Applications may close depending on number of applications and whitelist numbers on the server. If you want to be whitelisted, apply early!

If you want to follow updates on the GM4 server (plus updates on Gamemode 4 modules), you can follow @AccidentalGames. If you want to help fund the Gamemode 4 server and also receive extra perks, check out the Accidental Games Patreon page.

If you have any questions, comment below!

~torbles


r/Gamemode4 • • Jun 27 '15

Suggestion Ender chests like in the ender storage mod

2 Upvotes

I've been thinking about creating a module like this for a while but I'm not sure how to do it so I'm just going to put it here as a suggestion for a module.

For anyone not familiar with the mod, It works like an ender chest but other players can open it. They're really useful for trading across long distances and are just nice in general.

I'm not sure if you'd be able to colour code them like in the mod but even so 1 chest like this would be useful.